std.complex
Daniel Murphy
yebblies at nospamgmail.com
Sat Nov 23 06:02:38 PST 2013
"Joseph Rushton Wakeling" <joseph.wakeling at webdrake.net> wrote in message
news:pyjudfnteduztpporndj at forum.dlang.org...
> On Saturday, 23 November 2013 at 08:18:35 UTC, Daniel Murphy wrote:
>> They are not deprecated yet, but it has been 'planned' for a long time.
>> It's one of those things where not deprecating them doesn't hurt anyone,
>> so
>> it isn't high priority.
>
> Must say that, whatever the behind-the-scenes of the implementation, it
> seems a shame to lose the nice z = x + y*i notation.
>
> OTOH I guess that could lead to ambiguous code, e.g.
>
> int i = 4;
> complex z = x + y*i; // what does i mean here?
I feel mostly the same way - except - I've never actually used them in my
own code, and when I've built test cases for them while fixing other bugs
I've found some horrific bugs in dmd. This makes me think that _nobody_ is
using them. And if that's true, we might as well get rid of them.
eg https://d.puremagic.com/issues/show_bug.cgi?id=7594
More information about the Digitalmars-d
mailing list