this is a scenario I can understand bring a value.... Stef
>> I like once as well, after using it in VisualWorks. > For my tastes, it's uses just the right amount of magickery to both be able > to easily understand how it works, and provide useful functionality. > > F.ex. I wrote a tool where I tagged (time-expensive) methods I suspected of > being invariants during a large analysis, the tool then ran those methods > wrapped in a once block, and told me which did not affect the end results. > Much faster than a manual verification of whether they were really > invariants, and provided an ok speedup for the amount of (brain) effort > required :D > > Only problem I've encountered in VW (7.7 at least), is the debugger raising > an mnu if you try to step into the once call of a CachedBlockClosure. > > Cheers, > Henry > > > _______________________________________________ > Pharo-project mailing list > [email protected] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
