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

4

u/joequin Feb 22 '15

I think it's extremely readable, because unlike functional languages and newer languages it doesn't encourage the cleverness that often impedes code readability.

1

u/yogthos Feb 23 '15

Since when is declarative code less readable exactly?

1

u/joequin Feb 23 '15

That's not what I said.

1

u/yogthos Feb 23 '15

Then perhaps you could be a bit more specific about what it is that you mean. My experience is that there's far more cleverness in OO than in FP.

With FP everything is data driven. I have some data and I want to transform it into a different piece of data. I break the transformation into steps and find the functions that do these steps. There's nothing at all clever going on there.

On the other hand, with OO we start creating models of things and that can get pretty clever indeed. You end up with a bunch of state machines each doing something funky inside and you have to figure out how they all interact with one another.