[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
<boolean> (was Re: object-class)
- To: eliot@dcs.qmw.ac.uk
- Subject: <boolean> (was Re: object-class)
- From: Stavros Macrakis <macrakis@osf.org>
- Date: Tue, 24 Nov 1992 15:00:27 -0500
- Cc: info-dylan@cambridge.apple.com
- In-reply-to: eliot@dcs.qmw.ac.uk's message of Tue, 24 Nov 92 13:59:15 GMT <9211241359.AA24164@sterling.dcs.qmw.ac.uk>
- Sender: macrakis@osf.org
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