Matter of style, and cast()

H. S. Teoh hsteoh at quickfur.ath.cx
Mon Aug 5 08:23:54 PDT 2013


On Mon, Aug 05, 2013 at 03:01:18PM +0200, bearophile wrote:
> Some small style rules for D user code:
[...]

Note that in git HEAD, importing of packages as modules has been
implemented via package.d:

	import my.path.module;

will now also work with:

	/my
	/my/path
	/my/path/module
	/my/path/module/package.d
	/my/path/module/implementation1.d
	/my/path/module/implementation2.d

This means the guideline on import a.b.c.all; will soon be obsolete.


T

-- 
Famous last words: I wonder what will happen if I do *this*...


More information about the Digitalmars-d-learn mailing list