home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / pascal / 6726 < prev    next >
Encoding:
Internet Message Format  |  1992-11-19  |  1.7 KB

  1. Path: sparky!uunet!utcsri!skule.ecf!torn!nott!cunews!revcan!software.mitel.com!kim!kim
  2. From: kim@Software.Mitel.COM (Kim Letkeman)
  3. Newsgroups: comp.lang.pascal
  4. Subject: Re: Comments on Turbo (Borland) Pascal 7.0?
  5. Message-ID: <KIM.92Nov19082729@kim.Software.Mitel.COM>
  6. Date: 19 Nov 92 13:27:29 GMT
  7. References: <1992Nov18.131557.7438@odin.diku.dk>
  8.     <1992Nov18.174335.2758@exu.ericsson.se>
  9. Sender: kim@Software.Mitel.COM
  10. Organization: MITEL Public Switching, Kanata, Ontario, Canada
  11. Lines: 24
  12. In-reply-to: exuhag@exu.ericsson.se's message of 18 Nov 92 17:43:35 GMT
  13.  
  14. In article <1992Nov18.174335.2758@exu.ericsson.se> exuhag@exu.ericsson.se (James Hague) writes:
  15.  
  16. | I have seen this feature in Borland C++ 3.1 and it has me wondering.
  17. | I think that having comments and code in different colors is a great
  18. | idea.  But I can't figure out why anyone in their right mind would
  19. | want to have constants, keywords, and identifiers in different
  20. | colors.  People made a big ruckus over Modula-2's forced "IF a = b
  21. | THEN" syntax, because it draws attention to keywords (similar to
  22. | emphasizing puncutation over sentence content, in many people's
  23. | opinion).
  24.  
  25. I used to favour mixed case programming, but I was introduced to all
  26. lower case code about 7 years ago and I violently dislike anything
  27. else now because of the distracting clutter.
  28.  
  29. Interestingly, though, I love the hilighting in TPW 1.5 and BCC 3.1. I
  30. don't go hog-wild on colour, prefering the more subtle bolding of
  31. keywords and greying of strings and blueing of comments. But these
  32. things alone make source code so easy to read. One catches the
  33. comments immediately, but can equally easily ignore them and just read
  34. the code. In one colour code, embedded comments cannot help but
  35. distract.
  36. --
  37. Kim Letkeman    kim@Software.Mitel.COM
  38.