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