D naming style?
bearophile
bearophileHUGS at lycos.com
Fri Sep 4 19:14:04 PDT 2009
Jarrett Billingsley:
> I'm consistently confused by D (and Java and C#) code that doesn't
> indicate member names, especially when they're named really common
> things that often conflict with local variables, like "len" or "src"
> or such. Unless the type is small enough to fit on a single screen,
> it's easy to forget the member names.
I usually follow Python usage, and use this.fieldName. Is this bad practice in D?
Bye,
bearophile
More information about the Digitalmars-d
mailing list