Re:The Simplest React Stack – Part 1: Bootstrapping and Stat...
by Symen on Thursday August 31, 2017 @10:52AM
(#15140705)
But transparent getters and setters can be used to emulate private or immutable properties:
However the fact that you can transparently replace a simple property by a computed one (e.g. for backwards compatibility or to trigger side effects in observables) does make explicit, Java-style, getters and setters less useful.
[ Parent
| on HN ]
There are no comments on this comment yet.