One big advantage of accessors over passing round a hash is that if you mis-type an accessor name you get an error about an unknown method whereas if you mis-type a hash key you get a bug that may be hard to diagnose.
In reply to Re: Re^3: "Rites of Passage" wheel reinventing
by grantm
in thread "Rites of Passage" wheel reinventing
by dws
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |