Hacker News new | ask | show | jobs
by alphabettsy 1324 days ago
More verbose but easier to read and reason about in my opinion. A trade-off I’ll happily make.
1 comments

I don’t know, Java is a more expressive language which allows for more abstractions. This can be abused, but I think Java does strike a good balance here. You can express something like the Stream API (which is imo much more readable than deeply nested loops), while most of your code will still be ordinary method calls on objects. There certainly is an enterprise style of Java, but that is not inherent in the language, and modern Java really tries to grow away from it.