4 ms·
> 3. It uses non-standard getter syntax. Java developers used `getProp()` forever, now it's `prop()`. Shall we rewrite old classes or tools? Shall we live with
by krzyk 7y ago
> 3. It uses non-standard getter syntax. Java developers used `getProp()` forever, now it's `prop()`. Shall we rewrite old classes or tools? Shall we live with two different styles in one codebase? Both approaches are bad.
This was used in the olden days, nowadays developers prefer not to use pointless words in method names.
I really like those, and it also strengthen the fact that records are not java beans. If you want those you should write a regular class.