Globals suck. Make a method which returns that data. Zing, now it's accessible to all subclasses, it's encapsulated behind a nice interface, and it's not stompable elsewhere by accident.
In reply to Re: Proper way to create 'globals'
by chromatic
in thread Proper way to create 'globals'
by zaven
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |