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