string vs String
Derek Parnell
derek at psych.ward
Fri Dec 14 04:32:27 PST 2007
On Fri, 14 Dec 2007 15:09:22 +0800, davidl wrote:
> I noticed object.d alias string as invariant(char)[]
>
> But it's a bad choice of the name. string causes a lot name collision in
> my app.
> And as a type. with first char capitalized is a much better choice!!
This suggestion is a little late I guess, but I try to never have my own
identifiers be either valid English words or be in a single case, just so I
can avoid things like 'string' popping up in D.
--
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell
More information about the Digitalmars-d
mailing list