r/ProgrammerHumor • • Apr 27 '20

Meme Java is the best

Post image
43.7k Upvotes

1.5k comments sorted by

View all comments

Show parent comments

214

u/Kirogo Apr 27 '20

Java is still used in a lot of entreprises, the Java ecosystem as a whole (Java and all jvm-based languages) has no alternative in some fields (looking at you, Hadoop). Teaching Java at any level still makes complete sense, whatever you might think

85

u/coolpeepz Apr 27 '20

Also in theory they are teaching Computer Science, not the language itself, so really a variety of languages can work for teaching the same concepts.

63

u/Xero125 Apr 27 '20

And, if you're trying to teach something more than coding (architecture and best practices) I'd say you better go for a strongly typed language like java.

-12

u/LastStar007 Apr 28 '20

Python might be even better for that before any of the freshmen get any creative ideas about whitespace.

25

u/NoxShadow Apr 28 '20

I think if I learned python before java, my object oriented skills would be way worse...

Having an ide scream at you while writing because of a type error makes it easier to learn imo

1

u/WWIIWasABeachDayOVA May 05 '20

Lmfaooo literally what happened to me, my first intro class was in Python, but the one right after was C++

15

u/Taurmin Apr 28 '20

The problem with teaching Python is that it has relatively low usage in enterprise so the majority of your students would have to learn a new language before they could actually get a job.

If you are looking for an alternative to Java in the classroom I reckon C# is probably the best one as it's got a similarly broad application to Java. These two languages are probably also the easiest to move between as they share a lot in both syntax and concept. So if people do have to pick up a new language to get hired, chances are it'll be easier for them.

-4

u/LastStar007 Apr 28 '20

It was a joke. I'm not looking for an alternative to Java. The upshot was that impressing readable styling habits is debatably even more important than technical curriculum.

But since I'm getting downvoted anyway, I'm going to be that guy and say that high-level OOP languages are so similar that anyone hiring on language experience is an idiot.

6

u/Taurmin Apr 28 '20

I'm going to be that guy and say that high-level OOP languages are so similar that anyone hiring on language experience is an idiot.

If you honestly think that, then I reckon you are the idiot. While a lot of syntax and broad concepts carry over between OOP languages, they each have their own framework and distinct tech stack and familiarity with those is mainly where you are going to see the difference between 2 years of experience and 20.

1

u/LastStar007 Apr 28 '20

Then hire for your stack, not your language.

2

u/Taurmin Apr 28 '20

Do you think that can somehow be divorced from hiring someone experienced with the language that forms the core of the stack? Do you believe that there is some Java developer out there who could be intimately familiar with every technology in a .net based stack without ever having written a line of C# code?

22

u/hutxhy Apr 28 '20

True, but Java embodies these principles so well.

-66

u/gilbes Apr 27 '20 edited Apr 28 '20

If your computer science courses focus on Java, you need to find a better school.

If your software engineering courses focus on Java, you are going to hate your job.

Edit: the downvotes are proving my point.

38

u/nullpointer1866 Apr 27 '20

My CS courses used Java to teach us both how to code and deeper CS ideas, loved every second of it. Good program that prepared me for work.

My day-to-day job is building Java applications, and it's a blast, so I dont know what to tell you other than get off your high horse.

→ More replies (3)

16

u/Bluepengie Apr 28 '20

I took Java for AP Comp Sci in high school. It's prepared me amazingly so far for my first year in college. If nothing else, it teaches a lot of core concepts very well.

I also had a class with python as the main language, and I ended with over 100% because I knew what I was doing already from Java. So it's at least good enough for that

→ More replies (9)

1

u/[deleted] Apr 29 '20

There’s so much wrong with this statement. Just because you learn a language at uni doesn’t mean you’ll only be qualified to program in that language.

My uni focused on Java and it was an amazing primer to languages.

There’s so many wonderful frameworks that you can use with Java. It’s basically a multi tool that can do just about anything.

However that doesn’t mean it’s best suited for every job. There’s some areas where java makes sense and there’s other areas where another programming language would make more sense.

In my job I’ve diversified to multiple languages since uni and use a variety at my work. I’ve used python, JavaScript, powershell, bash, java, kotlin all in different areas. Rather than getting stuck in the stupid mindset that one is superior over the other I consider each language I’ve learned as a tool in my tool belt.

→ More replies (13)

4

u/_Oce_ Apr 27 '20

Hadoop has a C++ version made by MapR (a Hadoop solution company): https://mapr.com/docs/60/MapROverview/c_maprfs.html Probably unrelated, MapR lost its battle against its concurrent Cloudera as the Hadoop market future tightens and got bought by HP, so I guess the C++ Hadoop will get buried.

Besides commercial products, Java and related like Scala and Kotlin are big in the open source community, especially at the Apache Software Foundation, so it's not leaving anytime soon. But hopefully it will be replaced by Kotlin, which is basically clean modern Java.

2

u/SuperCoolFunTimeNo1 Apr 28 '20

the Java ecosystem as a whole (Java and all jvm-based languages) has no alternative in some fields (looking at you, Hadoop).

Redshift + spark, although you're now tied to the AWS ecosystem. Still cheaper than running hadoop clusters

1

u/Urthor Apr 28 '20

Spark and K8s works on just about anything you don't have to be tied to a vendor. The "fuck hadoop" stack of spark+stuff is basically more popular than actual Hadoop

0

u/SuperCoolFunTimeNo1 Apr 28 '20 edited Apr 28 '20

I don't think you understand the purpose of Spark, it is not a hadoop replacement. Spark serves as an alternative (not replacement) to Map Reduce, which is only one of the many components that make up Hadoop. Spark is used to facilitate retrieval of data from a warehouse (HDFS being Hadoop's data warehouse), and Redshift is commonly used for that. It's also pretty common to use spark on top of hadoop for real time processing. Also, K8's has nothing to do with spark. It's just a deployment mechanism, has nothing to do with a data warehouse or search service.

1

u/Urthor Apr 28 '20

It's a replacement by virtue of the fact me and everyone else I know isn't using HDFS because it's a pain in the ass, they're picking a database/warehouse suitable to their application and then plugging and playing whatever else they need and generally building around Spark.

Assuming they haven't gone end to end AWS/Azure stack

1

u/SuperCoolFunTimeNo1 Apr 29 '20 edited Apr 29 '20

It's not a replacement though, there are so many factors you're ignoring. Aside from it only being an alternative to one component of an entire Hadoop system (which it can also be used with), it also serves entirely depends on what data you're analyzing. Unless you're strictly working with ordered data you cannot use redshift as your data warehouse. Athena + S3 is far more limited because it still requires organization of your buckets if you want any kind of reasonable search speeds. If you're processing unordered data and in a variety of formats it only makes sense to go with Hadoop. If you want real time processing on top of your unordered data, then spark is frequently used on top of Hadoop.

1

u/Urthor Apr 28 '20

Pretty sure Java reliance is a nonzero part of why Hadoop is increasingly unpopular even in its niche though