Function pointers/delegates default args were stealth removed?
Jonathan M Davis
jmdavisProg at gmx.com
Mon Aug 27 14:28:56 PDT 2012
On Monday, August 27, 2012 23:22:39 foobar wrote:
> All true, except one crucial fact: DMD gets critical bug fixes
> incorporated with new features in the same release. This leaves a
> poor choice to the programmer, either he sticks with older
> compiler version and can't get any critical bug fixes, or he
> updates the compiler to latest version with all the bug fixes but
> risks breakage of code due to new features (which is _exactly_
> what happened to manu).
Except that the change which is causing Manu problems _isn't_ a new feature.
It's a bug fix. So, better versioning wouldn't necessarily have helped him any
at all. At best, if we had a more complex versioning scheme, it could be
decided that the bug fix was potentially disruptive enough that it should only
be fixed in a more major release, but _every_ bug fix risks breaking code,
especially when code could be relying on the buggy behavior.
- Jonathan M Davis
More information about the Digitalmars-d
mailing list