4 ms·
I think Ada's verbosity is one of its strengths. Cannot say the same for Java, however.
by johnisgood 2y ago
I think Ada's verbosity is one of its strengths. Cannot say the same for Java, however.
- naasking 2y agoThere's "verbosity as descriptive clarity", and there's verbosity as in "I already said this, why do I have to repeat myself?" Ada unfortunately still has some of the latter, otherwise I would agree.
- johnisgood 2y agoI mean, it is supposed to be verbose for descriptive clarity.
- speed_spread 2y agoJava 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.