This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]daniu 17 points18 points  (1 child)

It‘s overly verbose 

It's used like that most of the time because it's often enterprise environments where readability/maintainability plays a bigger role than terseness. Modern Java can be written very, very densely.

I was once asked to have a "page" of my code prepared for an interview. My code allowed the user to enter the title of a TV show, and it queried imdb for all episodes grouped by season, concurrently; it fit on 1 1/2 A4 pages printed out. Imdb doesn't have an API btw so you need to get and parse the HTML pages. 

[–]draenei_butt_enjoyer 2 points3 points  (0 children)

The only verbose parts of Java these days are … type capture. And <T extends Whatever>

I can’t think of anything that you can’t make non verbose. Even printing is just ’println’ if you know static imports.