Worst ideas/features in programming languages?

monkyyy crazymonkyyy at gmail.com
Tue Oct 12 20:22:52 UTC 2021


On Tuesday, 12 October 2021 at 00:13:45 UTC, jfondren wrote:
> On Monday, 11 October 2021 at 21:41:45 UTC, monkyyy wrote:
>> * nontrivial namespace collisions when importing std
>
> Are these still around? This compiles now:
>
> ```d
> unittest {
>     import std;
>
>     assert(!std.ascii.isAlpha('5'));
> }
>
> unittest {
>     import std;
>     import std.ascii : isAlpha;
>
>     assert(isAlpha('X'));
>     assert(std.uni.isAlpha('X'));
> }
> ```

The one that annoyed me was stdio and file, write


More information about the Digitalmars-d mailing list