May 16, 2012
11:21 p.m.
A bit tangent to your problem, Sean. Just want to tell you trick which i use: Rule #1. never make more than 1 reference to any class external to your package in your code. an exception is kernel classes. which means, that you are allowed to do 'Set new' or 'Array new', in any place of your code but never 'SomeFooClass new' more than once. If your code having such dependency, localize it in single method: fooClass ^ FooClass and then use 'self fooClass' everywhere.. Like that, if you will figure out one day, that sand moves under your feets, you'll have to change only single method. :) -- Best regards, Igor Stasenko.