Suggestion - use local imports in Phobos

Jacob Carlborg doob at me.com
Tue Jun 4 14:13:58 PDT 2013


On 2013-06-04 20:59, Idan Arye wrote:
> One of Phobos' design goals was internal modularity. As Walter mentioned
> in another
> thread(http://forum.dlang.org/thread/kojnq5$2qst$1@digitalmars.com#post-kok6q3:24jen:241:40digitalmars.com),
> this goal has been greatly compromised. A long list of imports is a
> common sight in the heads of Phobos' source files. This, ofcourse, is
> done for a good reason - we all know the benefits of DRY.

Tango contains some duplicated code just to avoid dependencies between 
modules.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list