home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / cplus / 19843 < prev    next >
Encoding:
Text File  |  1993-01-24  |  976 b   |  29 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!paladin.american.edu!darwin.sura.net!lhc!lhc!warsaw
  3. From: warsaw@nlm.nih.gov (Barry A. Warsaw)
  4. Subject: Re: C++ maintenance
  5. In-Reply-To: djb@geovision.gvc.com's message of Sat, 23 Jan 1993 19:25:44 GMT
  6. Message-ID: <WARSAW.93Jan24181136@anthem.nlm.nih.gov>
  7. Lines: 14
  8. Sender: news@nlm.nih.gov
  9. Reply-To: warsaw@nlm.nih.gov (Barry A. Warsaw)
  10. Organization: Century Computing, Inc.
  11. References: <C1BnAy.C3F@geovision.gvc.com>
  12. Distribution: na
  13. Date: 24 Jan 93 23:11:36 GMT
  14.  
  15.  
  16. >>>>> "Darren" == Darren Burns <djb@geovision.gvc.com> writes:
  17.  
  18.     Darren> But foo could be a global variable, a member of the_class,
  19.     Darren> or a variable local to the function.  I have to hunt all
  20.     Darren> over the place just to find out where to look for xxx.
  21.  
  22. We address this problem with a simple coding standard. We use the
  23. following naming convensions:
  24.  
  25.     global variable:  Gfoo
  26.     file local:       Lfoo
  27.     class member:     xfoo
  28.     auto var/fn arg:  foo
  29.