Nov. 13, 2011
10:22 a.m.
Am 13.11.2011 um 10:17 schrieb Sven Van Caekenberghe:
Stef,
On 12 Nov 2011, at 23:04, Stéphane Ducasse wrote:
environment should be used in a method while Smalltalk globals more for scripts.
Yeah, but Nick's point is that #environment is a class method, not an instance method, and maybe it would be handy on the instance side.
Absolutely. I want to have environments for code _and_ data. Not sure if it is applyable in a clean way into the same concept. But I like to be able to load a new version of my code into the same image. And I like to be able to run tests of my code without having side effects to my existing production data. Norbert