News for hackers. Stuff that matters.
Re:8 months of OCaml after 8 years of Haskell in production ... by speed_spread on Tuesday December 03, 2024 @11:05AM (#42307653)
Java is really not that verbose if steer out of the 25+ years old conventions that were defined to justify expensive proprietary tooling. Leave all fields package scope or public final, so you don't need getters and setters. On JDK21+ use records and pattern matching. Go procedural + lambda, don't be afraid to use static methods. When OO is required, prefer composition over inheritance. Adopt a proper annotation processor library such as autovalue to eliminate remaining boilerplate.

There are no comments on this comment yet.