home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / std / cplus / 1980 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  2.0 KB

  1. Xref: sparky comp.std.c++:1980 comp.lang.c++:18759
  2. Path: sparky!uunet!noc.near.net!argo.hks.com!tsavo.hks.com!not-for-mail
  3. From: webb@tsavo.hks.com (Peter Webb)
  4. Newsgroups: comp.std.c++,comp.lang.c++
  5. Subject: RESULTS: C++ file extension survey
  6. Date: 6 Jan 1993 12:44:34 -0500
  7. Organization: Hibbitt, Karlsson & Sorenson, Inc.
  8. Lines: 36
  9. Message-ID: <1if5q2INN8pj@tsavo.hks.com>
  10. NNTP-Posting-Host: tsavo.hks.com
  11.  
  12.  
  13. On Dec. 11, 1992, I surveyed the Net to determine the most popular extension
  14. to use for C++ code.  Each respondent was permitted multiple votes.
  15. Here are the results:
  16.  
  17. Total votes: 72
  18.  
  19.            |      |      |      |      |      |      |
  20. ___________|__.C__|__.c__|_.cxx_|__.cc_|_.cpp_|_.c++_|
  21.            |      |      |      |      |      |      |
  22. In favor:  |  9   |  3   |  2   | 16   |  8   |  2   |
  23. ___________|______|______|______|______|______|______|
  24.            |      |      |      |      |      |      |
  25. Against:   | 12   |  7   |  5   |  1   |  3   |  4   |
  26. ___________|______|______|______|______|______|______|
  27.            |      |      |      |      |      |      |
  28. Total:     | 21   | 10   |  7   | 17   | 11   |  6   |
  29. ___________|______|______|______|______|______|______|
  30.  
  31. The distribution of the votes is very interesting.  The .C extension got the
  32. most votes, but more people voted against than for it, though not by an
  33. overwhelming majority.  Most people who voted against .C did so because it
  34. is not appropriate for machines with case-insensitive file names, including
  35. PC clones.  Some, however, did object to it because it is visually difficult 
  36. to distinguish from .c. The .cc extension is the least controversial, with only
  37. a single respondent objecting to it.
  38.  
  39. Note that this distribution is counter to the advice given in the FAQ, which
  40. recommends .C for Unix machines and .cpp or .cxx for DOS and OS/2.
  41.  
  42. Respondents agreed that there was no standard or consensus yet.
  43.  
  44. -- 
  45. Peter Webb                     webb@hks.com
  46. Hibbitt, Karlsson & Sorenson, Inc.        Voice: 401-727-4200
  47. 1080 Main St, Pawtucket RI 02860        FAX: 401-727-4208 
  48.