DMD build
John Colvin
john.loughran.colvin at gmail.com
Fri Dec 28 11:21:22 PST 2012
On Friday, 28 December 2012 at 19:06:05 UTC, Walter Bright wrote:
> On 12/28/2012 7:51 AM, Russel Winder wrote:
>> On Fri, 2012-12-28 at 16:30 +0100, David Nadlinger wrote:
>>> DMD is actually written in C++, Walter just chose file names
>>> ending in .c for some strange reason.
>>
>> I can understand using C++ rather than C, but (sorry Walter)
>> naming the
>> files X.c is a f###### stupid idea. The standard name strategy
>> is one of
>> X.C, X.cc, or X.cpp, for very good reasons.
>>
>
> Yeah, the standard name is .C, or is it .cc, or is it .cpp, or
> is it .cxx (I've seen that "standard" one, too), and are
> headers .hxx or is the standard .hpp or whatever.
>
> Hell, I've even seen .c++
>
> It's about the most non-standard "standard" I've ever
> encountered :-)
I guess the convention is "Anything that is clear as to language
the file contains".
".cpp" and ".cxx" are both very good at that. ".cc" is less good,
".C" is even worse. All of them are better than ".c"
More information about the Digitalmars-d
mailing list