If you had money to place for a bounty, what would you choose?

Manu turkeyman at gmail.com
Wed Dec 4 00:01:11 PST 2013


On 4 December 2013 17:24, Kapps <opantm2+spam at gmail.com> wrote:

> On Wednesday, 4 December 2013 at 07:00:58 UTC, Manu wrote:
>
>> There is a proposed transition process across a few releases which should
>>
> make the transition relatively painless, at least, it wouldn't be error
>> prone, since warnings/deprecation messages would assist the process.
>> 1. 'virtual' keyword is introduced, 'override'-ing unattributed methods is
>> a warning.
>> 2. it becomes deprecated, but you can still compile with -d.
>> 3. it becomes an error, but surely you've already taken the opportunity to
>> update your software, right?
>>
>
> This transition also works well. It does mean that the performance
> benefits would not occur until step 3, but while giving time to transition
> it also immediately provides the safety benefits. Ideally it would even
> catch bugs in peoples code as they make the required changes to add virtual
> where needed. The only issue is that it pretty much guarantees that most
> libraries that make use of classes and are no longer maintained will fail
> to compile, but honestly, I don't know think many projects will compile
> anyways when using a compiler / Phobos version that's more than a year
> newer than when the library was last modified.
>

Indeed. I think it's very safe to say that any un-maintained code already
won't compile. This isn't the first, or even the greatest in magnitude
breaking change that there's been recently.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20131204/b00e1172/attachment.html>


More information about the Digitalmars-d mailing list