Hi Sven. Yes, as far as I remember, Object>>name was safe to remove. Not likewise Class>>name but ok, it is less likely final users will need class side #name.�
Hi,
Many people have hit the fact that Object implements #name, which then seems to conflict with some other class where one would really like to use name as an instance variable and thus accessor.
Turns out that it seems that Object>>#name is actually not used (anymore).
I just put a halt in it and tried a couple of tools and everything seems to work just fine.
The comment talks about Inspector use, but there is #defaultLabelForInspector for that.
It is a small thing, but it confuses everybody for no good reason,
Any comments ?
Sven
PS: it was also in the testing procotol ;-)
--
Sven Van Caekenberghe
http://stfx.eu
Smalltalk is the Red Pill