[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how expressive are they?




   Date: Fri, 22 Nov 2002 14:44:59 -0800 (PST)
   From: Avi Bryant <avi@beta4.com>
   To: Guy Steele - Sun Microsystems Labs <Guy.Steele@sun.com>
   cc: tlb@anybots.com, <ll1-discuss@ai.mit.edu>
   Subject: how expressive are they?
   ...
   
   Smalltalk doesn't need primitives or macros:
   ...
   
   x and: [y] and: [z]
   x ifTrue: [y] ifFalse: [z]
   
And see how much wordier these are than (AND x y z) and (IF x y z).

--Guy Steele