home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / scheme / 2536 < prev    next >
Encoding:
Text File  |  1992-11-05  |  3.4 KB  |  70 lines

  1. Newsgroups: comp.lang.scheme
  2. Path: sparky!uunet!ferkel.ucsb.edu!taco!gatech!darwin.sura.net!spool.mu.edu!sgiblab!munnari.oz.au!metro!usage!syacus!ian
  3. From: ian@syacus.acus.oz.au (Ian Joyner)
  4. Subject: Re: Case sensitivity
  5. Message-ID: <1992Nov5.125818.29114@syacus.acus.oz.au>
  6. Organization: ACUS Australian Centre for Unisys Software, Sydney
  7. References: <MAYER.92Nov2105543@fliff.wrc.xerox.com> <1992Nov3.145414.28199@csservices.Princeton.EDU>
  8. Date: Thu, 5 Nov 1992 12:58:18 GMT
  9. Lines: 59
  10.  
  11. blume@kastle.Princeton.EDU (Matthias Blume) writes:
  12.  
  13. >The relationship between symbols as variables and symbols as data is sometimes
  14. >already confusing enough.  Most of the arguments *pro* preserving
  15. >case-insensitivity in this newsgroup are made on a ``don't complicate
  16. >things''-basis.
  17. >Although I don't agree that case-sensitivity makes things more complicated,
  18. >I feel that the ``hybrid'' approach is really inacceptable.
  19. >I know, that Scheme is not required to provide eval, but many implementations
  20. >have it --- different symbols would suddenly denote the same location...
  21.  
  22. >I still don't understand, why some programmers (and program readers) should
  23. >have such difficulties remembering, that Foo and foo are not the same!
  24. >I already knew about this distinction as a kid, 1st grade in grade school :-)
  25.  
  26. Firstly, they are the same. A first grade kid WILL tell you this.
  27.  
  28. Secondly, it is not a matter of remembering. Often a program is being
  29. maintained by a programmer who didn't write the original, and who has
  30. got to work out what the program does.
  31.  
  32. Thirdly, the memory of the word foo is achieved by remembering the sound.
  33. 'Foo' and 'foo' are both remembered as the sound "FOO".
  34.  
  35. >And again: there are ``natural'' languages, where case matters.  I haven't met
  36. >any German speaker, who confuses `Weg' and `weg'.  Is this really that hard?
  37.  
  38. But the more I see this example in its different guises, the more I
  39. realise that it has little to do with the problem. It is a complication
  40. in a natural language. I cannot see that this justifies the introduction
  41. of the same complication into programming languges.
  42.  
  43. The more I think about the case sensitivity argument, the more I realise
  44. that case sensitivity introduces unneeded complications, ambiguties,
  45. difficulties in producing maintainable programs, and potential for subtle
  46. errors that are difficult to detect.
  47.  
  48. Balance all that with there is NO appreciable benefit for having case
  49. sensitivity, as it in no way affects the power of the programs that can
  50. be written, and in no way enhances the expressiveness of a language...
  51.  
  52. Well I think you can guess my conclusion.
  53.  
  54. >BTW: There have been some arguments about actually *pronouncing* Scheme
  55. >programs.
  56. >     How do you pronounce the parentheses?  Whenever I tried to communicate
  57. >     with other people on that level, I found it much harder to tell
  58. >     about the program *structure* as opposed to some particular identifiers.
  59. >     (The same holds for almost every programming language -- programming
  60. >     languages like math symbolism has been invented to be written, not
  61. >spoken.)
  62.  
  63. This is again justifying adding extra complexity, because something is
  64. already complicated.
  65. -- 
  66. Ian Joyner  ACUS (Australian Centre for Unisys Software)    ian@syacus.acus.oz
  67. "Where is the man with all the great directions?...You can't imagine it,
  68.  how hard it is to grow, Can you imagine the order of the universe?" ABWH
  69. Disclaimer:Opinions and comments are personal.
  70.