[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how expressive are they?
On Sat, 23 Nov 2002, Piers Cawley wrote:
> > 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).
> Note too that he's not comparing apples and apples. In a lisp
> language something is true if it isn't nil.
Excuse me - not comparing apples and apples how? Different languages have
different semantics for the truth or falsehood of nil, but it's hardly
standard across "lisp languages" (I know Scheme implementations with flags
for controlling it), and I can't fathom how it's relevant to this