string vs String

Colin Huang colin.hwong at gmail.com
Fri Dec 14 00:36:25 PST 2007


Janice Caron Wrote:

> And do you suppose that this would cause no name clashes at all with
> anyone's apps? I imagine it would cause /more/. Anyone who's ever made
> a string class has probably called it "String". To me, the lower case
> s not only ensures fewer name clashes, but also makes it "feel" like a
> primitive type (which it sort of almost is - I mean it's just an
> array, not actually a class or a struct).

Agreed :)

On an unrelated note, module names starting with uppercase letters (like those in Tango) have always turned me off -- feels too Java-ish to me :P (I remember reading somewhere in the forum that this is done for good reasons, though)



More information about the Digitalmars-d mailing list