home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / rexx / 841 < prev    next >
Encoding:
Internet Message Format  |  1992-08-31  |  3.4 KB

  1. Path: sparky!uunet!gatech!bloom-beacon!eru.mt.luth.se!lunic!sunic!ugle.unit.no!ugle!anders
  2. From: anders@lise3.lise.unit.no (Anders Christensen)
  3. Newsgroups: comp.lang.rexx
  4. Subject: Re: Blanks, REXX, and portability...
  5. Message-ID: <ANDERS.92Aug31151335@lise3.lise.unit.no>
  6. Date: 31 Aug 92 13:13:35 GMT
  7. References: <REXXLIST%92082801343844@UGA.CC.UGA.EDU>
  8. Sender: news@ugle.unit.no (NetNews Administrator)
  9. Organization: University of Trondheim, Norway
  10. Lines: 67
  11. In-Reply-To: Dave Gomberg's message of Thu, 27 Aug 1992 22:32:04 PDT
  12.  
  13. In article <REXXLIST%92082801343844@UGA.CC.UGA.EDU> Dave Gomberg <GOMBERG@UCSFVM.BITNET> writes:
  14. > On Fri, 28 Aug 1992 02:13:58 LCL Anders Christensen said:
  15. > >In article <REXXLIST%92082716163624@UGA.CC.UGA.EDU> Dave Gomberg
  16. > ><GOMBERG@UCSFVM.BITNET> writes:
  17. > >>       If there is no consensus among users as to which characters are
  18. > >>       equivalent to blanks, then only the blank character should be so
  19. > >>       implemented."
  20. > >
  21. > >I am not really sure how to interpret this. As long as "users",
  22. > >"consensus" and "be implemented" (implemented where? and by whom?) is
  23. > >rather unspecified, I think that sentence should be left out.
  24. >
  25. > A standard mainly tells implementers what to implement, and to a lesser
  26. > extent, users what kind of code to write.   If users don't know certain
  27. > funny characters are spaces, the implementers in that environment should
  28. > not implement them that way.  Seems perfectly straightforward to me.
  29.  
  30. No. It is not straightforward.
  31.  
  32. 1) It implicitly assumes that the only problems with whitespace is
  33.    whether to have one or many. Example: Suppose half the users thinks
  34.    that Space and Tab are whitespace, and the rest thinks that Space
  35.    Tab and Formfeed are whitespace. Then, since there are no consensus
  36.    among users about whitespace, inplementations can only use Space as
  37.    whitespace.  Even though all users agree that Tab is a whitespace.
  38.  
  39. 2) The term 'users' are unspecified. Is it _all_ the users, or is it
  40.    the users within one operating system? What about variants of
  41.    operating systems? What if all users in Europe agrees on one thing,
  42.    and all users in America agrees on another?
  43.  
  44.    Does 'users' refer to all the users within one community, or just
  45.    the Rexx users? Maybe just Rexx programmers?
  46.  
  47. 3) The term "consensus" is rather vague. Is it more than 50%? More
  48.    than 75%? Is it enough that _one_ person disagrees? Does
  49.    experienced users count as much as beginners?
  50.  
  51. Given these uncertainties, an implementor can choose to give it an
  52. liberal interpretation. Then, he may implement whatever he wants,
  53. justifying by something like:
  54.  
  55.   "We asked three of our biggest customers, and after we explained the
  56.    situation, they agreed with our perception of 'whitespace'"
  57.  
  58. Or even just:
  59.  
  60.   "Our interpreter targets the users who support our perception of
  61.    'whitespace'" 
  62.  
  63. Now, do you see what I meant by 'unspecified'?
  64.  
  65. A better statement might be something like
  66.  
  67.   "Exactly which characters are considered whitespace is
  68.    implementation-dependent, but implementors are strongly recommended
  69.    to define as whitespace only those characters commonly used as
  70.    whitespace for the operating system in question."
  71.  
  72. Or something like that .... The reason why I care is simply that I
  73. understood your notes as a suggestion for the ANSI standard, and IMHO
  74. such a vague statement should not appear in a standard.
  75.  
  76. -anders
  77.  
  78. PS: It's sad to hear that postings must look like the front page of
  79.     "The National Inquirer" (sp?) to be read.
  80.