Dart and D: features that could be used in D, D->dart for web programming

Walter Bright newshound2 at digitalmars.com
Thu Feb 27 12:46:32 PST 2014


On 2/27/2014 2:19 AM, Timothee Cour wrote:
> * import all except specified symbols:
> import 'package:lib2/lib2.dart' hide foo; // Import all names EXCEPT foo.

As a general rule, negation features are frequently misunderstood, our brains 
tend to just not see the negation. One should positively import names, not 
negatively not import some.

And there's the maintenance problem - what did the importer mean to do when the 
imported module adds a 'bar' name?


More information about the Digitalmars-d mailing list