home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / scheme / 2953 < prev    next >
Encoding:
Internet Message Format  |  1993-01-23  |  1.6 KB

  1. 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
  2. From: bh@anarres.CS.Berkeley.EDU (Brian Harvey)
  3. Newsgroups: comp.lang.scheme
  4. Subject: Re: Unspecified values in R4RS
  5. Date: 23 Jan 1993 07:03:08 GMT
  6. Organization: University of California, Berkeley
  7. Lines: 27
  8. Message-ID: <1jqqjc$b4p@agate.berkeley.edu>
  9. References: <OZ.93Jan22114638@ursa.sis.yorku.ca> <1jpf3e$2m1@agate.berkeley.edu> <OZ.93Jan22174029@ursa.sis.yorku.ca>
  10. NNTP-Posting-Host: anarres.cs.berkeley.edu
  11.  
  12. oz@ursa.sis.yorku.ca (Ozan Yigit) writes:
  13. >But if you want trivial interactions such as these to work as you would
  14. >like them to, you may just as well do something like what David Kelsden
  15. >sent me the other day:
  16. >
  17. >   (define void (string->symbol ""))
  18. >
  19. >   (define (praise thing)
  20. >     (display thing)
  21. >     (display " is great!")
  22. >     void)
  23. >
  24. >Is this not easier than changing the whole language definition? ;-)
  25.  
  26. *You* can write programs like that, and *I* can write programs like
  27. that, but *my students* are going to fall into any pitfalls that the
  28. language leaves in their path.
  29.  
  30. I'm not suggesting that an entirely pitfall-free language is possible
  31. or desirable, but this particular pitfall (stupid return values from
  32. commands called for effect) seems to be easily avoidable and to have
  33. no redeeming features.
  34.  
  35. It really depends whether you want Scheme to be a language only good for
  36. Knights of the Lambda Calculus, while beginners are left in the hands of
  37. Pascal lovers, or whether you'd like Scheme to be an easy language to
  38. learn.
  39.