[squeak-dev] The Inbox: ShoutCore-ct.78.mcz
tim Rowledge
tim at rowledge.org
Sun Jan 12 18:29:23 UTC 2020
> On 2020-01-12, at 10:04 AM, Levente Uzonyi <leves at caesar.elte.hu> wrote:
>
> I know I sound like a broken record, but if you care about performance, don't use symbols in place of blocks, especially as the arguments of methods like #ifNotNil:, which would optimize the blocks away.
> Also, using a symbol with #ifNotNil: may not legible to the average Smalltalker. I'm sure some would expect [ x ifNotNil: #y ] to yield #y when x is not nil.
+ VeryLargeNumber
Concision ~~ Clarity
tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Debugger: A tool that substitutes afterthought for forethought.
More information about the Squeak-dev
mailing list
|