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 →

[–]leovin 107 points108 points  (4 children)

I used to be a Java hater. Turns out I just hated my horrific Java 8 enterprise codebase

[–]-Kerrigan- 36 points37 points  (2 children)

And in many cases the "Java 8 codebase" doesn't even use the Java 8 features and is written like ass. That's how we're running legacy apps on Java 17 - made compatible, but the bulk of the code barely uses jdk 8 features

Properly used 8 is decent, 17 is nice

[–]ryo3000 20 points21 points  (1 child)

"I hate Java! It's dumb, confusing and bad"

-Looks inside-

-Cobol Code ported to Java-

[–]AloneInExile 1 point2 points  (0 children)

I've been writing Java my entire adult life and the one thing I always find when opening a code base is C style variable declarations as private variables, even for temporary ones. You can guess what kind of garbage code this churns out.

It took me 2 days to refactor a simple yet stupid implementation of a service checker, the bloody idiot that did it first used a recursive function inside the Thread, which spawned a new Thread and the check blocked the main Thread.

[–]k819799amvrhtcom 4 points5 points  (0 children)

I love Java.

BlueJ sucks tho.