Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Law of Demeter and immutability. Parent comment
Say you suddenly want to change the position to another unit, or change how it uses position (perhaps return a different position on some cases).
With direct access, you can't.
There are no comments on this comment yet.
Say you suddenly want to change the position to another unit, or change how it uses position (perhaps return a different position on some cases).
With direct access, you can't.