2 ms·
Probably should just use records and get all that for free.
by vips7L 5y ago
Probably should just use records and get all that for free.
- xxs 5y agoJulianMorrison uses java8, no 'record' there. Not everything fits being a record, either way. The advice is sound for pretty much any class and development, use final fields in the c-tor; make them public if you have to, and dont bother w/ getters.