super super

Randal L. Schwartz merlyn at stonehenge.com
Wed Feb 16 21:42:16 UTC 2000


>>>>> "Yoshiki" == Yoshiki Ohshima <ohshima at is.titech.ac.jp> writes:

Yoshiki>    super super addCustomMenuItems: aCustomMenu hand: aHandMorph.

This reeks of bad class design.  Method implementation re-use gone
Very Wrong.

The moment I saw code like this, I'd probably delete the entire
inheritance chain, and start from scratch.

Why didn't you just go into the super method and refactor it?

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!





More information about the Squeak-dev mailing list