home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.std.c++:1995 comp.lang.c++:18807
- Newsgroups: comp.std.c++,comp.lang.c++
- Path: sparky!uunet!think.com!ames!haven.umd.edu!wam.umd.edu!krc
- From: krc@wam.umd.edu (Kevin R. Coombes)
- Subject: Re: RESULTS: C++ file extension survey
- Message-ID: <1993Jan7.182757.8297@wam.umd.edu>
- Sender: usenet@wam.umd.edu (USENET News system)
- Nntp-Posting-Host: rac1.wam.umd.edu
- Organization: University of Maryland, College Park
- References: <1if5q2INN8pj@tsavo.hks.com>
- Date: Thu, 7 Jan 1993 18:27:57 GMT
- Lines: 29
-
- In article <1if5q2INN8pj@tsavo.hks.com> webb@tsavo.hks.com (Peter Webb) writes:
- >
- >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:
- >[table omitted]
- >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.
- >[more omissions...]
- > 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.
-
- If you're really looking for a "standard", then you have no choice but
- to rule out both .C and .c++, since there are operating systems that
- will not support them. Of the remaining choices you listed, only .cc
- and .cpp got more favorable votes than unfavorable. I found that
- interesting, since those are the extensions I use (the first on UNIX,
- and the second on MS-DOS). It would be really nice if everybody
- agreed on some common extension; I'm tired of wrting batch files to
- rename things, and shell scripts to build symbolic links when I switch
- from one platform to the other.
-
- Kevin Coombes <krc@math.umd.edu>
-