"Brian Rogoff" wrote in message news:[email protected]...

It might be worthwhile to consider a compiler switch which would require forced virtual/final annotations on all methods as per

https://d.puremagic.com/issues/show_bug.cgi?id=11616#c4

While code compiled with such a switch would be a bit more verbose, it would ensure that programmers were careful with virtual. It was a good transition plan, and the idea has value even if the final by default is delayed or abandoned.

A compiler switch is not the place for this, but it would make a fine lint rule.

Reply via email to