std.getopt suggestion

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue Oct 4 08:48:20 PDT 2011


On 10/04/11 09:09, Jacob Carlborg wrote:
> On 2011-10-04 13:21, Regan Heath wrote:
>> In this particular case, because these std,.getopt options are global
>> variables, building something which uses them, or std.getopt will
>> introduce side effects to other uses of std.getopt. Meaning the current
>> design makes it impossible to build upon in an orthogonal manner. This
>> is the 'problem' people have with it.
>>
>
> Exactly, yet another reason why std.getopt is badly designed.

Wait, I thought that was the one! Now I wonder what the others were.

Andrei



More information about the Digitalmars-d mailing list