Re:A Case for Properties: Programming Language Design
by sorokod on Sunday November 15, 2020 @02:52PM
(#25104169)
Getters and setters for private fields provide additional flexibility not afforded by the fields themselves. Examples from the article include different visibility for Getters and setters, validation, and opportunity to execute additional code.
[ Parent
| on HN ]
There are no comments on this comment yet.