Comments on DMD frontend.

Walter Bright newshound1 at digitalmars.com
Tue Feb 26 12:24:56 PST 2008


Leandro Lucarella wrote:
> My firt big surprise, and not a good one, was that the frontend files are
> named with the .c extension, instead of .cpp, .cxx, or anything used for
> C++ files. Is there a rationale behind that? I find it very confusing.

When I first started with C++, I carefully named all my h files ".hpp" 
and source files ".cpp". Over time, the .hpp was dropped in favor of .h, 
and eventually .cpp => .c.

It's not confusing to me because I never mix C and C++ source files in 
the same project.



More information about the Digitalmars-d mailing list