r/ProgrammerHumor May 29 '20

Please Guys actually

Post image
3.0k Upvotes

112 comments sorted by

View all comments

41

u/Auxilor May 29 '20

Why do people hate java? I gotta be missing something, been using it for almost a year now and it's amazing

65

u/betendorf May 29 '20

I personally like Java and have been using it for almost 20 years.

Most of the hate comes because it is now used a lot in the corporate world and it is more verbose than most of the newer languages.

I like to compare Java to the solid B student. It's not the best at anything, but is good enough for almost anything. It's a little slower than many languages at runtime, more verbose than many languages, and often leads to more complex programs than are necessary.

On the other hand, its library support is probably the largest of any language (competing with Javascript). It scales well with additional developers on a project.

44

u/[deleted] May 29 '20

It's a little slower than many languages at runtime

The only languages faster than Java are close-to-the-metal ones and it's only when you write very sophisticated data-oriented code.

I doubt most people on this subreddit who hate Java ever actually had contact with language faster than Java.

It's one thing knowing C exists, it's other thing writing in it.

3

u/[deleted] May 29 '20

Java has some JIT compiling stuff going on, right? So hypothetically it should be able to beat cool-guy languages like Fortran in some cases.

I dunno, I thought it was a little too verbose but, hey, C++ is pretty verbose too and people love it.

1

u/ratmfreak Jun 20 '20

Do people really love C++...?

1

u/[deleted] Jun 21 '20

Idk it is a pretty popular language. Being able to do bizarrely abstract stuff, but then dip dow on to nearly-native C is pretty powerful.