Login  Register

Re: Why do we separate class/instance methods in the browser?

Posted by Esteban A. Maringolo on Jul 22, 2017; 1:28pm
URL: https://forum.world.st/Why-do-we-separate-class-instance-methods-in-the-browser-tp4956231p4956233.html

2017-07-22 10:21 GMT-03:00 Tim Mackinnon <[hidden email]>:
> Anyway - this got me thinking - why do we bother having a toggle in our UI for this these days? Of course we know there is a class and a metaclass but given that we have icons for methods now (and also have a
> Protocol pane ) why don't we just show all the methods we have in one list and let you filter them or even see them all? It seems much easier and way more efficient to rapidly code this way.

> Has this been tried before? Is it heretical?

IMO it is heretical, you taught the ethos, but that instance/class is
part of the praxis (and logos) of Smalltalk.

There is no such thing as "class side", that's a good metaphor we tell
ourselves because it is useful.
Also I think that comparing it with "static" methods, as in Java, is
another resource we use but isn't directly comparable, since you can't
inherit static methods.

IMO we have "class" and "meta" definitions, that are our current
"instance" and "class side" definitions.

However I think there is still room for improvement in terms of UI,
there could be separate tabs instead of radio buttons, but there is
some screen state that you could lose if implemented improperly.

Regards!

Esteban A. Maringolo