2009/7/25 Stéphane Ducasse <[email protected]>: > Smalltalk is a dictionary namespace > not a shit place full of crap. >
Agree, this is why i proposing a consensus: Keep dictionary aside of shit, and at same time live with what we currently have :) > This is why we started to clean SystemDictionary > and people started to complain and we stop. >> >> But i understand the reasoning of dissection the Smalltalk dictionary >> of globals from the rest of service methods & additional state, >> which is needed and which were putted in SmalltalkImage class. >> >> But the more i thinking about it, the more i feel that this >> 'dissection' can be done in least intrusive way which is much >> friendlier to 'old ways' >> but also plays well with 'current ways'. >> >> So, what i'm proposing: >> >> - make a dictionary of globals a pure dictionary, without any extra >> unrelated methods. >> - completely move all fat stuff into SmalltalkImage from >> SystemDictionary class >> - add 'globals' ivar to SmalltalkImage class , and add proxy methods >> for accessing the dictionary, like #at: #at:put: etc. >> >> then simply: >> Smalltalk at: #Smalltalk put: (SmalltalkImage current). >> >> Now, Smalltalk == SmalltalkImage current and everyone is happy: >> - dictionary lives in separate ivar, >> - fat & boring housekeeping stuff lives in SmalltalkImage instance. >> >> What you think? > > Yes this was the solution we envision to keep people happy. > And one day cut the backlink. > > Stef > > > _______________________________________________ > Pharo-project mailing list > [email protected] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > -- Best regards, Igor Stasenko AKA sig. _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
