r/programming • • Feb 22 '15

Java Makes Programmers Want To Do Absolutely Anything Else With Their Time

http://www.forbes.com/sites/quora/2015/02/21/java-makes-programmers-want-to-do-absolutely-anything-else-with-their-time/
35 Upvotes

636 comments sorted by

View all comments

140

u/karlhungus Feb 22 '15

I have no love for java.

While it performs pretty well nowadays, it still isn’t competitive with C or C++ and, with a little love, Haskell and OCaml can or will eclipse it in that domain.

I didn't think this was true, i thought it was somewhat close to C (excluding startup).

For real-world production servers, it tends to require a fair amount of JVM tuning.

This is really seems like reaching for something to be a problem that isn't.

because it objectively sucks.

If people can't even define OO, it can't objectively suck. If you were making a pun i forgive you.

culture is one of mediocrity and bad taste, with MetaModelVibratorVisitorFactory

These kinds of strawmen make me feel like "I don't have to read another word this person writes."

1

u/oneUnit Feb 22 '15

What about c#?

5

u/[deleted] Feb 22 '15

What about it? Seems like a nice language.

1

u/oneUnit Feb 22 '15

I've heard that it's a much better "version" of java. I was wondering if /u/karlhungus has experience with c#.

-2

u/btchombre Feb 22 '15

C# is a fantastic language. It's significantly less verbose than Java and has had years of development and features added to it while Java has been stagnant over the years. Scala is a pretty good Java replacement language, apart from the idiotic variable name, colon, variable type syntax.

7

u/tetroxid Feb 22 '15

5

u/drysart Feb 22 '15

It took them nearly a decade to figure out how to do half as many useful improvements to the language as it took the C# team half the time to do. (Not to mention that they completely screwed some of them up in the process, like implicit typing.)

'Stagnant' might not be the right word, but 'lethargic' certainly is. Developing in Java after you've used C# is like stepping into the Delorean and setting the time circuits to 1885.

2

u/tetroxid Feb 22 '15

You are right. You see, Java was first, and C# was Microsoft's answer to it (it appeared five years later). They were able to thoroughly analyse it and learn from its mistakes. I would be surprised if it weren't better.

And while I loved Sun Microsystems as a company, they indeed were slow to improve Java. While I hate Oracle as a company, they picked up an impressive pace developing and improving Sun's technologies (like Java and Solaris).

C# has one big problem: It is Windows only. That rules it out for us, our suppliers and our customers because almost none of our or our customer's servers run Windows. I personally don't really like Java (I mean: SimpleBeanFactoryAwareAspectInstanceFactoryCreatorInterfaceSingleton, what the fucking fuck) but nonetheless, it is king of its domain.

→ More replies (1)