Deprecation schedule

bearophile bearophileHUGS at lycos.com
Sun Nov 28 14:44:28 PST 2010


Andrei Alexandrescu:

> I wonder what would be a good deprecation schedule.

I'd like to know something about the deprecation schedule of compiler features too, that is when they will be removed from the DMD front-end. Things like part of the complex number syntax, typedef, floating point comparison operators (are they present still?), scoped classes, delete, implicit string joining, old operator overloading scheme, and so on and on.

This stuff makes the front end code longer, may cause bugs (because you don't have bugs in code that is not present), needs maintenance to be kept working as DMD changes, makes the creation of alternative D compilers unnecessarily a bit harder and laborious, and it may confuse newbies.

I've seen lot of talking about deprecated features (like the long discussion about deprecation of delete), but only very rarely I've seen them actually removed... (I remember the array[new], some bad C syntax removed recently and what else?).

Bye,
bearophile


More information about the Digitalmars-d mailing list