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."

5

u/[deleted] Feb 22 '15

What about Scala?

12

u/[deleted] Feb 22 '15

Scala is a horrible language. It's far too flexible. The creators see c++ and thought it didn't give you enough ways to write confusing code so they added even more options. Everything in scala has like 5 ways you can call it and everyone does it a different way making using third party libraries a pain if you ever have to debug.

7

u/[deleted] Feb 22 '15

Scala is a horrible language. It's far too flexible.

Then what we should use? A language with zero-flexibility, like Go? Flexibility is very-very important to write verbose dsls for frameworks. It prevents to make disastrously ugly & non-verbose fws like spring and hibernate.

Everything in scala has like 5 ways you can call it and everyone does it a different way making using third party libraries a pain if you ever have to debug.

I don't know what kind of experience you have with Scala but debugging Scala is easy beacuse of typesafety.

0

u/aldo_reset Feb 22 '15

Then what we should use?

Kotlin and Ceylon are two interesting languages showing what a post-Scala language can look like. They take some of the good parts of Scala but they both have a very narrow focus on their scope and feature set.

0

u/[deleted] Feb 22 '15

Ceylon is a joke, and neither come close to what Scala does.

1

u/aldo_reset Feb 22 '15

That's their stength: they offer a lot of what Scala does without all the crazy syntactic and semantic baggage.

Sometimes, less is more.

1

u/[deleted] Feb 22 '15

No, they offer some syntactical sugar.