Properties

Ron Pressler ron.pressler at oracle.com
Wed Apr 24 12:32:00 UTC 2024



> On 24 Apr 2024, at 12:34, ІП-24 Олександр Ротань <rotan.olexandr at gmail.com> wrote:
> 
> So just to clarify: this would be a welcomed feature to add? Also this would require some modification of records (or adjusting for them). As far as I know they are part of Valhalla, so I better head there with such proposal?


As others have said, we (currently) consider properties an anti-feature. And, as you can probably tell, actually implementing new features in the compiler is quite easy — that’s not where we need help. Most of our effort goes into identifying the right problems to solve. A feature that takes a single programmer a month or two to implement is usually preceded by some years of exploration and “problem distillation” by more than a few people.

The best contribution to the JDK is not code — which is the part that doesn’t take much time and effort — but reporting experience that would help identify the biggest problems. It’s a more difficult kind of contribution, but a much more valuable one. A single programmer can implement a feature, but it takes input from many, of different levels of experience and working in different fields, to identify the right problems and understand them.

— Ron


More information about the compiler-dev mailing list