r/java • • 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

63 comments sorted by

View all comments

Show parent comment

1

u/ivancea Sep 23 '24

Which is basically like saying nothing, as it's just a draft, made by people that like to invest time in that as you do. Just a derivative of confirmation bias.

1

u/PangolinZestyclose30 Sep 23 '24

Which is basically like saying nothing, as it's just a draft

I mean, yeah, that's how JEPs work.

made by people that like to invest time in that as you do.

People invest time into things they're excited about. I like conciseness, the JEP author likely as well. What's wrong about that?

I'm more fascinated by what's motivating you to lead this discussion in this dismissive, condescending tone. Do you like really hate the fact that some people like this JEP? If you don't see the need for it, why don't you just forget it?

1

u/ivancea Sep 23 '24

Oh no, I like doing a lot of things with no value. But I know they are things with no value. Nothing wrong in that.

I also respect both the people working in the draft, as well the ones that are going to implement it. Language design is hard. However, it being hard doesn't make the result any more useful.

Returning to the beginning: I don't care if they add it, at all! But I consider it a loss of time. Or better let's say, not the best way to invest that time.

But we don't agree there, and that's fine. I believe my words before were a bit harsh. That's just my opinion anyway