Postln appears to affect results

By definition empty blocks answer nil and empty methods answer self (these are the usual Smalltalk rules).

Writing unused temporaries is bad style (Smalltalks will usually offer to remove them.)

There’s nothing to see here?

{ }.value == nil // empty blocks answer nil
{ var x; }.value == nil // also with unused temporaries
{ var x = 1; }.value == nil // also with unused initialised temporaries
1 Like

Thanks Smoge, I am getting more and more from it. My musical ideas are far ahead of my programming skills, which is a bit frustrating, but better than the reverse. I hope I have a moment of deep clarity because it is an inordinately powerful tool.

1 Like