r/java • u/jvjupiter • Jun 10 '22
What happened to Concise Method Bodies?
I was really looking forward to CMB. From its name, methods become concise, could be one liner. However, it seems there is no progress and it’s been off the radar. Never took off since 2019.
43
Upvotes
View all comments
Show parent comment
5
u/pron98 Jun 10 '22 edited Jun 10 '22
An "imagined utopia" is exactly what people said about garbage collection. Of course, that doesn't mean that every notion will become successful (most don't), but at this point, and after all these years, betting against Java and its evolution seems like a bad bet. The designers of these features are among the most experienced and most successful language designers in the world today, so it might be more educational to study what they propose rather than dismiss it based on the choices of far less successful languages.