On 2013-11-23 14:02:38 +0000, Daniel Murphy said:

"Joseph Rushton Wakeling" <joseph.wakel...@webdrake.net> wrote in message news:pyjudfnteduztppor...@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

I disagree. I was using them for physics simulations. They are very useful for the computational physics community. Just because most people are still using FORTRAN does not mean they won't switch eventually.

-Shammah

Reply via email to