Alternate syntax ( AssignmentNode )
Lantz Rowland
lantz at aabysgallery.com
Sat Jun 10 12:09:45 UTC 2000
This is a variation for a View of an AssignmentNode in the
ColonFreeSyntax-di sample .
aBottle Gets aMessage .
I have always introduced Smalltalk Assignment with this syntax, verbally
and in writing, to discuss the concept of what it means for aVariable to
get anObject. Yep, including a real physical bottle ( or cutout tennis ball
) being passed around with a note stuffed inside it while I talk about
Object, Class, Variable and Message.
Only when finished that discussion do I mention that Gets is written with a
leftarrow symbol, typed with a shift-hyphen but still pronounced Gets.
aBottle Gets aMessage .
aBottle _ aMessage .
I definitely would like a View of an AssignmentNode available as a
HumanPreference option with the foreign language style that Dan showed in
his original with
Set aVariable to aValue .
Lantz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ColonFreeSyntaxGets-zL.cs
Type: application/octet-stream
Size: 2449 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20000610/e63681a4/ColonFreeSyntaxGets-zL.obj
-------------- next part --------------
--
Lantz Rowland <lantz at aabysgallery.com> PgpKey: 0x67E5DFA5
Think Different! Think YottaHertz! <http://Lantz.EditThisPage.com/>
----------------------------------------------------------------------
More information about the Squeak-dev
mailing list
|