Re:JDK 9 release schedule
by arjie on Tuesday October 18, 2016 @08:11PM
(#12739856)
He means you'd call `increment(25)` to say you've got 25 more, or `employee.suspend()` instead of `employee.setAccess(SUSPENDED); employee.setPay(0); employee.setBenefits(NONE);`
[ Parent
| on HN ]
Re:JDK 9 release schedule
by carterehsmith on Tuesday October 18, 2016 @08:37PM
(#12739989)
Increment(25) still mutates the value.
What is the point here?
Point - say you have a database with 300 tables and ~3,000 columns.
You do not want to play the game of "hide the method to change the value". That is a big waste of time for everyone involved.