What's about virtual?

Timon Gehr timon.gehr at gmx.ch
Tue Sep 10 04:46:45 PDT 2013


On 09/10/2013 02:28 AM, Andrei Alexandrescu wrote:
> ...
>
> After I've seen a pretty cool demo of clang-modernize
> (http://clang.llvm.org/extra/ModernizerUsage.html), I think the best way
> to attack this and similar problems is to add a class hierarchy
> analyzer: a command-line utility that is fed an entire project and adds
> as many 'final' as possible without changing semantics.
>
> Time has come to migrate such functionality to tools. We keep on telling
> that "nobody uses the tools" but it seems experience contradicts that
> belief.
>
>
> Andrei
>

This is of course a valid possibility, but if this kind of tooling is 
available, making the change becomes a rather trivial issue in the first 
place, since old code can just be fixed up automatically.


More information about the Digitalmars-d-learn mailing list