Comments on DMD frontend.

Leandro Lucarella llucax at gmail.com
Wed Feb 27 05:20:56 PST 2008


Walter Bright, el 26 de febrero a las 12:24 me escribiste:
> 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.

It's not confusing to you! If you do it in a closed source project, it's
perfectly fine but if you do it in an open source project, it's a bad
thing (TM). You are putting a barrier to people to contribute (and making
D look ugly).

What are the chances that you rename them to a commonly used C++
extension?

And what about the debug stuff. Are you willing to accept patcher or not?
I'm just looking for a "yes" or "no". Please?

Thank you.

-- 
Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/
----------------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------------
MP: Cómo está, estimado Bellini?   B: Muy bien, Mario, oraculizando.
MP: Qué tengo?                     B: El auto mal estacionado.
MP: No, en mi mano, Bellini...     B: Una murga!
MP: No, escuche bien. Es de lona.  B: Un ring, Mario.
MP: No Bellini. Tiene cordones.    B: La vereda.
MP: No Bellini! Muy fácil, eh! Es  B: Una modelo, Mario!
    imprescindible para jugar al   B: Un negro, Mario.
    basquet.
MP: No, Bellini, no y no!
	-- El Gran Bellini (Mario Podestá con unas zapatillas de basquet)



More information about the Digitalmars-d mailing list