home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!anarres.CS.Berkeley.EDU!bh
- From: bh@anarres.CS.Berkeley.EDU (Brian Harvey)
- Newsgroups: comp.lang.scheme
- Subject: Re: Unspecified values in R4RS
- Date: 23 Jan 1993 07:03:08 GMT
- Organization: University of California, Berkeley
- Lines: 27
- Message-ID: <1jqqjc$b4p@agate.berkeley.edu>
- References: <OZ.93Jan22114638@ursa.sis.yorku.ca> <1jpf3e$2m1@agate.berkeley.edu> <OZ.93Jan22174029@ursa.sis.yorku.ca>
- NNTP-Posting-Host: anarres.cs.berkeley.edu
-
- oz@ursa.sis.yorku.ca (Ozan Yigit) writes:
- >But if you want trivial interactions such as these to work as you would
- >like them to, you may just as well do something like what David Kelsden
- >sent me the other day:
- >
- > (define void (string->symbol ""))
- >
- > (define (praise thing)
- > (display thing)
- > (display " is great!")
- > void)
- >
- >Is this not easier than changing the whole language definition? ;-)
-
- *You* can write programs like that, and *I* can write programs like
- that, but *my students* are going to fall into any pitfalls that the
- language leaves in their path.
-
- I'm not suggesting that an entirely pitfall-free language is possible
- or desirable, but this particular pitfall (stupid return values from
- commands called for effect) seems to be easily avoidable and to have
- no redeeming features.
-
- It really depends whether you want Scheme to be a language only good for
- Knights of the Lambda Calculus, while beginners are left in the hands of
- Pascal lovers, or whether you'd like Scheme to be an easy language to
- learn.
-