Proposal: this.d

Downs default_357-line at yahoo.de
Sun Sep 9 14:05:57 PDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kirk McDonald wrote:
> When a user says "import pkg;" (where pkg is a package), it should
> actually import a special module called "pkg/this.d". The name "this",
> being a keyword, cannot be used as a regular module name, and so there
> is no chance of it interfering with existing packages. It also evokes
> existing D syntax.
> 

On the other hand, using all.d has the advantage of working better with
existing libraries (which often use this naming), as well as being more
obvious.
 --downs' 2¢
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG5GA1pEPJRr05fBERAqV5AJwIGMFIeAaK9wc0sBMR6WUXXDBqegCeNgAa
9R44FMK74jxQOja++VUkTwU=
=bia2
-----END PGP SIGNATURE-----



More information about the Digitalmars-d mailing list