[Cuis-dev] What's the deal with the numeric #privateFlagAt: keys?

Juan Vuletich juan at jvuletich.org
Sun Aug 16 04:38:09 PDT 2020


On 8/14/2020 10:40 PM, Phil B via Cuis-dev wrote:
> There doesn't appear to be any advantage (i.e. bit-field or other 
> numeric computation) to them so why not just use symbolic keys with 
> meaningful names?

Those are private messages. The public senders have meaningful names. 
Storing flags this way allows removing instance variables or properties. 
It is an optimization.

-- 
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
@JuanVuletich



More information about the Cuis-dev mailing list