Andrei Alexandrescu: > // in client code > // get everything tagged with "string" > import std.algorithm : @tag(string);
A next step is to allow to import all names with a specified tag, even if such names are inside more than one text file (the compiler can create a json txt file to speed up this retrieval): import @tag(string); To keep things tidy I think it's better to minimize the number of different tags inside each file, so they are similar to modules anyway: perfect hierarchies are sometimes too much rigid to represent real life complexities, but an approximate hierarchy is tidier and simpler to understand than an amorphous soup of tags. Bye, bearophile
