[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 <email@example.com>
To: Guy Steele - Sun Microsystems Labs <Guy.Steele@sun.com>
cc: firstname.lastname@example.org, <email@example.com>
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).