[Pharo-project] Smalltalk at: #Foo - needs clarification
andreas.raab at gmx.de
Wed Oct 6 12:08:42 EDT 2010
On 10/6/2010 6:58 AM, Igor Stasenko wrote:
> just wanna ask, is this part of API will be deprecated in future?
> (in Pharo, it put under 'to clean later' category).
> And if yes, then what will be correct (dialect-agnostic) way to access globals?
> Smalltalk globals at: #Foo ?
> I thought that #at: #at:put: (and some others)
> historically is a part of Smalltalk protocol, and should stay there to
> support legacy code and cross-dialect code.
> What you thoughts about it?
The base dictionary access methods (#at:, #at:put:, #at:ifAbsent:)
should remain in Smalltalk for compatibility. Then it's a matter of
where that request is being delegated.
More information about the Pharo-dev