[squeak-dev] The Trunk: Collections-dtl.548.mcz
David T. Lewis
lewis at mail.msen.com
Sat Dec 14 20:45:59 UTC 2013
On Fri, Dec 13, 2013 at 09:57:25AM -0600, Chris Muller wrote:
>
> Dave, the only thing I don't like about this change is I thought we said we
> were going to migrate away from using the Dictionary API on Smalltalk.
> This was back when Andreas and community came up with the idea of the
> wrapped 'globals'.
>
> I think it would be better to use
>
> (Smalltalk classNamed: #Paragraph) ifNotNil: [ : classParagraph | ... ]
>
> otherwise we can never find all the places where we try to do logical
> access to class.
>
Thanks, I had forgotten about this. I will use this idiom in the future.
Dave
More information about the Squeak-dev
mailing list
|