home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / cplus / 12511 < prev    next >
Encoding:
Internet Message Format  |  1992-08-18  |  1.2 KB

  1. Path: sparky!uunet!usc!sdd.hp.com!elroy.jpl.nasa.gov!ames!data.nas.nasa.gov!taligent!apple!mlanett
  2. From: mlanett@Apple.COM (Mark Lanett)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Mac programming conventions?
  5. Message-ID: <71344@apple.Apple.COM>
  6. Date: 18 Aug 92 18:34:40 GMT
  7. References: <16r0guINN96a@cs.utexas.edu>
  8. Organization: Apple Computer Inc., Cupertino, CA
  9. Lines: 19
  10.  
  11. wardrb@cs.utexas.edu (Richard Byron Ward) writes:
  12.  
  13. >I am trying to analyze a large body of C++ code right now and
  14. >there are comments interspersed through it that simply
  15. >say: /* T */
  16.  
  17. >They are generally placed before member definitions (same line),
  18. >but I can't figure out what the T stands for.  This reminds me of
  19. >a variable naming convention that I heard about on the Macintosh,
  20. >but this program is written to run on Unix.  Can anyone shed some
  21. >light on these mysterious Ts?
  22.  
  23. There is a convention that class names begin with T, for Type, because of the
  24. Object Pascal origin of the larget-used class library on the Mac. I'll bet
  25. someone decided they didn't like hand-mangling their class names and did a
  26. search-and-replace on them...
  27. -- 
  28. Have a bajillion brilliant Jobsian lithium licks.
  29. Mark Lanett, NOT speaking for anyone. Personal opinion only.
  30.