[Newbies] Code critics - Overrides super method without calling it

Matthias Berth matthias.berth at googlemail.com
Sun Jul 20 13:12:15 UTC 2008


The idea is that you should _maybe_ give the superclasses of Strand a
chance to execute their method.
In some situations this is really necessary, or just a good way to
avoid code duplication.



On Sat, Jul 19, 2008 at 5:47 PM, stan shepherd <squeak414 at free.fr> wrote:
> Hi, I get the possible bug 'Overrides super method without calling it' for
> things like:
> Strand>>size
>        ^ genes size
> I can't find an explanation of this, in case there is some nasty that I'm
> not aware of. It is not listed at:
> http://st-www.cs.uiuc.edu/users/brant/Refactory/LintChecks.html
> Is there a more complete list of code critics messages?
> Are there cases other than 'Overrides a "special" message' to look out for?
> Thanks,   ...Stan
> --
> View this message in context: http://www.nabble.com/Code-critics---Overrides-super-method-without-calling-it-tp18545882p18545882.html
> Sent from the Squeak - Beginners mailing list archive at Nabble.com.
> _______________________________________________
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners

More information about the Beginners mailing list