[squeak-dev] Overrides. Evil. Need to do something with it.

Michael Haupt mhaupt at gmail.com
Wed May 5 15:34:05 UTC 2010


Hi,

On Wed, May 5, 2010 at 5:12 PM, Bert Freudenberg <bert at freudenbergs.de> wrote:
> Overrides are evil, period.

question mark.

Imagine some class being loaded that right- and joyfully overrides a
method whose implementation solely consists of sending
#subclassResponsibility to self. I do *not* want to confirm that. It's
*intended*.

Specialisation is an important feature in OOP, right? From time to
time, it's just needed.

Now imagine someone who is not too experienced in Squeak and who wants
to load some interesting package for playing around with it. Those
"Override! Warning! Careful!" messages will quickly repel that person
(at least: deeply unsettle them), and BOOM! we have one more Ruby
programmer. ;-)

Best,

Michael



More information about the Squeak-dev mailing list