Why not flag away the mistakes of the past?

jmh530 john.michael.hall at gmail.com
Wed Mar 7 12:09:22 UTC 2018


On Wednesday, 7 March 2018 at 06:00:30 UTC, Taylor Hillegeist 
wrote:
> So i've seen on the forum over the years arguments about 
> auto-decoding (mostly) and some other things. Things that have 
> been considered mistakes, and cannot be corrected because of 
> the breaking changes it would create. And I always wonder why 
> not make a solution to the tune of a flag that makes things 
> work as they used too, and make the new behavior default.
>
> dmd --UseAutoDecoding
>
> That way the breaking change was easily fixable, and the 
> mistakes of the past not forever. Is it just the cost of 
> maintenance?

That's the approach used for most things, but there's a lot of 
things that rely on auto-decoding, so it would be a big effort to 
actually implement that.


More information about the Digitalmars-d mailing list