Arbitrary abbreviations in phobos considered ridiculous

deadalnix deadalnix at gmail.com
Tue Mar 6 10:26:08 PST 2012


Le 06/03/2012 18:09, Andrej Mitrovic a écrit :
> I'll never forgive std.datetime for this mistake:
>
> auto sw = StopWatch(AutoStart.yes);
> writeln(sw.peek.hnsecs);
> writeln(sw.peek.nsecs);
> writeln(sw.peek.usecs);
> writeln(sw.peek.msecs);
> writeln(sw.peek.secs);  // bzzzzz NOPE
> writeln(sw.peek.seconds);
>
> I misspell this thing every single time I use stopwatch to count seconds.

I feel less lonely :D But that doesn't solve the problem.


More information about the Digitalmars-d mailing list