I could store the adjacent objects as attributes, but that prevents me from expanding my object model later on if, for some reason, the getLeft() method isn't static anymore. This future-proofs me.
In reply to Re^8: How could we "implement" Open Classes in Perl ?
by dragonchild
in thread How could we "implement" Open Classes in Perl ?
by Alien
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |