2009/11/13 <[email protected]>: > Em 12/11/2009 19:29, Lukas Renggli <[email protected]> escreveu: > >> >> > That we don't have a way to create accessor (specifically the >> >> > getters) that do lazy evaluation? >> >> Lazy initialization? What do you want to do? >> > SomeClass>>aVariable >> > aVariable isNil ifTrue: [aVariable := "sensible thing to do"]. >> > ^aVariable >> How would the refactoring engine figure out what you want to do? > > We just give it some hints. To have an example of this functionality > pls get a look at the page nine of > http://cormas.cirad.fr/forum/cormas/old2004_2006/att-0518/01-IntroCormas_Elections.pdf
Are you working with Cormas ? -- Serge Stinckwich UMI UMMISCO 209 (IRD/UPMC), Hanoi, Vietnam Smalltalkers do: [:it | All with: Class, (And love: it)] http://doesnotunderstand.org/ _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
