std.stringbuffer
Bill Baxter
dnewsgroup at billbaxter.com
Wed Apr 30 10:19:51 PDT 2008
Janice Caron wrote:
> 2008/4/30 Me Here <p9e883002 at sneakemail.com>:
>>> "std.string" is a module, so it can't also be a package. That's a
>>> limitation of the D language.
>> Now. This is where you show me up to be nothing but a pretender in this
>> forum.
>> I have no idea what the distinction is be tween thos two in D.
>
> One is file, the other is a folder. std.string is a file, so it can't
> also be a folder.
>
Herein lies the genius in Tango's naming conventions. You *can* have
both a package std.string, and a module named std.String. If you
consistently use different case for package and module names, then you
can have your cake and eat it too.
--bb
More information about the Digitalmars-d
mailing list