[squeak-dev] Today's price for "nastiest code seen' goes to...

tim Rowledge tim at rowledge.org
Fri Apr 3 23:09:26 UTC 2020



> On 2020-04-03, at 3:59 PM, tim Rowledge <tim at rowledge.org> wrote:
> 
> Not from Squeak, thank goodness

Or maybe the best candidate is 
rctable := Dictionary new.
[rctable add: (Association key: '00000' value: 'A').
rctable add: (Association key: '00001' value: 'B').
rctable add: (Association key: '00010' value: 'C').
rctable add: (Association key: '00011' value: 'D').
{snipped to avoid too much pain}
rctable add: (Association key: '11110' value: '5').
rctable add: (Association key: '11111' value: '8').
] value.

tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Fractured Idiom:- FELIX NAVIDAD - Our cat has a boat




More information about the Squeak-dev mailing list