Phango

Janice Caron caron800 at googlemail.com
Sat Nov 17 13:53:51 PST 2007


On 11/17/07, Lars Ivar Igesund <larsivar at igesund.net> wrote:
> >> Will both libraries adopt the same style (naming conventions,
> >> capitalization, etc...)?
> >
> > I surely hope so. ++myVote
>
> You understand that that would mean Phobos gaining Tango's style?

Oh I don't think so. Walter is quite clear that module names should be
lowercase, and I agree with him. And (apart from Tango) I think it is
"the norm" to name classes in titlecase and variables in lowercase.
Tango is just plain weird in giving variables names like "Stdout".
That's just perverse. Just because it's a global variable doesn't mean
you can go all titlecase.

I kid you not - if Tango used "normal" case conventions, it would have
a lot more adherents.

In any case, I am currently crafting my own personally bastardised
version of Tango. I've already got a significant fraction of it
compiling under D2.007 (including Phobos), and yes I renamed all the
module names to lowercase. And I'll probably make "Stdout" merely an
alias for "stdout" too (etc.)

Seriously - Tango's stylistic issues are a big turn-off. Tango
folk,when you complete your integration with Phobos, please, please
fix them.



More information about the Digitalmars-d mailing list