[Cuis-dev] Interesting thoughts about Color
Casey Ransberger
bahweep at icloud.com
Fri May 3 09:31:51 PDT 2019
What Phil says below is what I felt/thought too. Smalltalk isn’t broadly a pass-by-value affair. Most things are object references. The VM+compiler makes exceptions for things like self, true, false, and small integers of course. Static arrays too, IIRC. Adding special immutable cases for every color I care about seems... too much. Image-level singletons are straight out. That’s wasted memory on my Raspberry Pi.
Mark my words: I will add a singleton called “salmon” to our giant list of singletons in this case, because #salmonIsAlsoAColor.
:D
Smalltalk is a chaotic state-process soup with some surprisingly powerful bolted-on functional aspects, mostly focused around collections... or that’s how it works in my head anyway. I could be wrong.
—C
> On Apr 28, 2019, at 9:39 PM, Phil B via Cuis-dev <cuis-dev at lists.cuis.st> wrote:
>
> OK, now I understand where you're coming from. I'd simply point out that in the vast majority of cases, Smalltalk code has not been nor is it currently immutable or functional 90+% of the time.
More information about the Cuis-dev
mailing list