On 30.07.2019, at 18:53, Christoph Thiede christoph.thiede@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