Hijacking
Jarrett Billingsley
kb3ctd2 at yahoo.com
Sun Aug 5 19:21:08 PDT 2007
"Walter Bright" <newshound1 at digitalmars.com> wrote in message
news:f95leh$hn4$1 at digitalmars.com...
>
> That is a good point. The reason I haven't added it is because I'm not
> sure how annoying it will be to have to always add the 'override' keyword.
> It might be one of those things like exception specifications where
> everyone says it's a good idea but guiltily hate in secret <g>.
If anything's annoying, it's when that kind of hijacking happens (I've had
it bite me a few times). I _always_ try to put override on every method
that I override, as not only is it self-documenting, but it also traps this
kind of bug.
More information about the Digitalmars-d
mailing list