Positive

Ary Borenszweig ary at esperanto.org.ar
Sat Oct 4 20:36:58 PDT 2008


Andrei Alexandrescu escribió:
> (Background: Walter has kindly allowed ".()" as an alternative to the 
> ugly "!()" for template argument specifications.)
> 
> For example:
> 
> Positive.(real) sqrt(Positive.(real) x);

I can't read that. I see a bunch of calls and casts. !() was a little 
hard at first, but this is impossible.

Of course, this is just my opinion, I don't know what the others think 
about it...

Another problem, from an IDE perspective: "Positive." will trigger 
autocomplete of Positive's members, ugh.



More information about the Digitalmars-d mailing list