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

Show parent comments

1

u/BeforeTime Feb 22 '15

Java has classes and objects. You'd be looking long for a more powerful abstraction mechanism than that. Other languages might have more abstraction tools that are more suited to some situations, but objects can almost always get the job done. Other mechanisms are just more terse, which can be valuable, but they are not strictly speaking more powerful.

What Java lacks is some sort of syntactic abstraction such as e.g. macros or haskells handling of two argument functions.

4

u/gingenhagen Feb 22 '15

I'd say that the two things that Java is really hurting for are first-class functions and closures.

5

u/aradil Feb 22 '15

And the lack of a not brain-dead datetime/calendar library.

Wooo Java 8. I'll probably never be able to upgrade to Java 8. Also, I'm pretty sure it's anonymous functions are internally just converted to classes anyway, and are really just sugar. But I like sugar.