2 ms·
Still not solving all the problems that an accessor does. Say you suddenly want to change the position to another unit, or change how it uses position (perhaps
by coldtea 10y ago
Still not solving all the problems that an accessor does.
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.