[squeak-dev] The Inbox: System-ct.1073.mcz
Tobias Pape
Das.Linux at gmx.de
Tue Jul 30 17:09:55 UTC 2019
> On 30.07.2019, at 18:53, Christoph Thiede <christoph.thiede at student.hpi.uni-potsdam.de> wrote:
>
> Hi Tobias,
>
> isn't `Smalltalk at: #some ifPresent: [] ifAbsent: []` more convenient (and
> strengthens encapsulation)?
Doesn't it rather strengthen a God class?
> I thought this would also be the reason for
> SmalltalkImage>>#at:ifPresent: & Co. ...
There had been different approaches to fan out responsibilities from the Smalltalk global to
other objects, and different views to consolidate.
Anyhow, given that there are environments now and Smalltalk globals is actually not a SystemDictionary anymore but an Environment,
at lease the access to global names, variables and classes should rather go through globals :)
at least that's my view
Best regards
-Tobias
More information about the Squeak-dev
mailing list
|