>misspelled attempts to overide
Has any compiler vendor experimented with warnings? Presumably
a compiler must currently compare a new procedure name and
profile with the list of procedures it might be meant to
override. If the names are 'similar' and the parameter profiles
are identical, it's probably worth a 'did you mean this to be
In the meantime, editors that make it easy to cut and paste
the spec from the overriden to the new spec, seem the only really
safe way to go. It can be a real bear finding this kind of typo.
In CLAW, which is highly OO, we made a special effort to make
sure overridable specs were easily cut-and-paste-able, by such
techniques as keeping the parameter plus comments short enough to
be fully visible in a window and using full dotted type names.