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