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

<boolean> (was Re: object-class)



eliot@dcs.qmw.ac.uk says:

   >   ...define the basic control structures using polymorphism on #t &
   >   #f and lambda (method)....

   You can always make the programs easier to read by introducing syntactic
   sugar for lambda creation, which is what Smalltalk and Self do.

Yes, they will be easier to read, but much more error-prone to write,
since accidentally using () rather than [] will radically change the
meaning of your program.  Unless you propose that "if" be a special
form which closure-quotes its arguments, as opposed to (say) *if.  But
that would bring us back to where we started in practical terms.
Aesthetically, it's nicer perhaps.

	-s