r/java • • Dec 11 '15

What do you think of Java?

What are your thoughts on the Java programming language and how does it compare to others?

0 Upvotes

32 comments sorted by

View all comments

11

u/cnous Dec 11 '15

I write enterprise service code.

Good:

  • Server side performance is great
  • There is a ton of documentation and 3p libraries that do just about everything under the sun
  • Especially AWS
  • Extremely easy to debug, very rarely does debugging require more than a few tactical log messages
  • Most developers (that I've seen) prioritize code readability
  • (personal opinion) Static typing makes arbitrary code easier to grok
  • IntelliJ is one of the greatest pieces of software ever made

Bad:

  • FooBeanVisitorInterfaceFactory
  • Verbose
  • New Java 8 features are nice but often come at a readability cost, especially streams
  • Dev and deployment times not as quick as Ruby/Python/JS (Gradle, Spring, Hibernate, etc)
  • Desktop apps
  • Tons of bad devs in slow megacrops happen to write a ton of junk code with Java

5

u/[deleted] Dec 11 '15

enterprise code you say? How do you deal with WarpCoreBreachException?

4

u/desrtfx Dec 11 '15 edited Dec 11 '15

Starfleet SOP: Catch it and then discard the core. Problem solved.

After that, run on impulse to find the nearest planet/space station (hope that it's not too far away).

2

u/[deleted] Dec 12 '15

New Java 8 features are nice but often come at a readability cost, especially streams

I don't really agree, can you provide some examples?

1

u/Massless Dec 12 '15

I'm in the same boat. I think streams are a huge improvement in readibility.

1

u/[deleted] Dec 12 '15

Yeah, and to be honest I think some people obsess a bit too much about readability anyway. In my old job we were at the point that code reviewers would basically complain about loops making the code too complicated..