Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Avoid getters and setters whenever possible. Parent comment
Most OO languages have type systems not fitting for such checks, though. Thus runtime checks, often a part of a setter.
There are no comments on this comment yet.
Most OO languages have type systems not fitting for such checks, though. Thus runtime checks, often a part of a setter.