"Andrei Alexandrescu" <[email protected]> wrote in message 
news:[email protected]...
>
> A user-level program could import std.parallel_algorithm and 
> std.algorithm, and choose which version to use by simply qualifying 
> function calls with the same signature.
>

I'd be *very* cautious about that sort of thing. Actually, no, I'd be 
against it. Using fully-qualified function calls destroys the ability to use 
member call syntax which is one of my absolute favorite D features (in large 
part because it reduces excess parenthesis-nesting and reduces the amount of 
code that's executed in the opposite order it's written). Unfortunately, 
member call syntax seems to have become completely forgotten since about a 
few years ago. And instead of gaining the ability to use it on more types as 
was supposed to happen, the number of places it can be used has been 
*decreasing*.


Reply via email to