Hacker News new | ask | show | jobs
by marginalia_nu 1153 days ago
Yeah, this dates back pretty far: https://www.oracle.com/technetwork/java/codeconventions-1500...

While minor variations exist, virtually all Java code follows these conventions pretty closely.

Although I'll note it seems to get a bit more chaotic with regards to indenting newer constructions like streams and lambdas.

1 comments

People like to pooh pooh Java in the circles I hang out in, but I’m always quick to point out stuff like this, things that are just basically mostly solved in Java land and no one really wastes time on anymore because some pretty good decisions were made 20-25 years ago. How to handle a lot of aspects of dependencies is another classic example.