On Nov 23, 2010, at 12:48 PM, Benjamin wrote:Hello guys,regarding that comment of SmalltalkImage>>#removeSelector: is"Safely remove a selector from a class (or metaclass). If theclass or the method doesn't exist anymore, never mind andanswer nil.This method should be used instead of 'Class removeSelector:#method' to omit global class references."maybe Behavior>>#removeSelector: sould be deprecated ?
not really
in fact the other one is a hack. I imagine that this is more to make sure you write
Smalltalk removeSelector: #foo instead of MyClass removeSelector: #foo.
I'm not sure that this is used in fact.
Stef