2 ms·
Why have either? Why even set a value more than once except as an optimization?
by eyelidlessness 6y ago
Why have either? Why even set a value more than once except as an optimization?
- drivingmenuts 6y agoI misspoke about the getter (was focused on getting dinner). I should stop at saying the purpose of the getter is to return the value. Using it as the setter as well confuses the purpose for the hidden property just smells wrong. This is my subjective opinion.