"Global" imports vs scoped imports
Dicebot
public at dicebot.lv
Mon Feb 10 04:21:20 PST 2014
On Monday, 10 February 2014 at 00:30:14 UTC, Jonathan M Davis
wrote:
> On Sunday, February 09, 2014 19:18:05 Dicebot wrote:
>> Usage of selective imports is also encouraged.
>
> Not so much. At least, not right now. They don't work right and
> tend to cause
> symbol conflicts:
>
> https://d.puremagic.com/issues/show_bug.cgi?id=314
> https://d.puremagic.com/issues/show_bug.cgi?id=8667
I was speaking about _both_ scoped and selective imports. 314 is
not an issue for those at all and 8667 is relatively hard to
trigger. Global selective imports are bad idea for sure.
More information about the Digitalmars-d-learn
mailing list