[squeak-dev] Overrides. Evil. Need to do something with it.
Igor Stasenko
siguctua at gmail.com
Wed May 5 13:41:25 UTC 2010
Hello,
there is a certain critial places in system, which should not be
overridden by external packages.
Otherwise, it becomes a mess and usually leads to malfunction in key
system parts: compiler, special objects etc.
I'd like to propose to introduce a special marker pragma for methods,
which should _never_ be overridden by external package.
myMethod
<doNotOverride>
an MC code loader should honor this pragma, and do not attempt to
override this method when installing a package
or at least ask user that there is a risk of getting serious problems,
if you override this method.
What you think?
--
Best regards,
Igor Stasenko AKA sig.
More information about the Squeak-dev
mailing list
|