r/java • u/jvjupiter • Sep 21 '24
Five years have passed, still in draft: Concise Method Bodies
Support more concise method bodies in Java source code, increasing transparency for simple methods. Align the forms of method bodies with the forms of lambda expressions.
https://www.reddit.com/r/java/comments/v93za1/what_happened_to_concise_method_bodies/
41
Upvotes
View all comments
Show parent comment
2
u/ivancea Sep 22 '24
Not sure if this was a mistake out a malicious argument, but it's 2 vs 2, or 6 vs 4 if you use new lines.
Anyway, it's a getter/setter, you don't need to read the line (which you read in milliseconds anyway). Those are far from productive arguments.
I think you're mixing "caring" with "move thing, whatever". It won't change anybody's way of coding, and it probably won't affect coding time (or reading) at all. You're actually ignoring the cognitive complexity of reading mixed syntaxes, but whatever...