[Squeakfoundation]defineClass fix!

Doug Way squeakfoundation@lists.squeakfoundation.org
Mon, 16 Dec 2002 14:53:57 -0500

Ian Piumarta wrote:
> On Mon, 16 Dec 2002 goran.hultgren@bluefish.se wrote:
> > Aha, ok - the idea is that it gives you a proper "inform" instad of
> > "Nothing more expected ->" if you start entering a method without first
> > selecting a method category. If I understood it correctly.
> Didn't this used to (way back yonder) create a new protocol (or add to an
> existing protocol) called "as yet unclassified" for methods entered while
> "--all--" is selected?  What happened to that?  (Or did I simply dream
> that this was the case, in some kind of "perverse hacker nightmare"?)

This was changed awhile ago so that you could see the class template and the class' list of methods at the same time, when selecting a class in the browser.

See http://groups.yahoo.com/group/squeak/message/52761 for more background.

I could go either way with either using Goran's fix, or just backing out Torge's enhancement.  Goran said he'd vote to back out the enhancement, so maybe we should just do that.

To me, the situation before Torge's enhancement wasn't all that bad... if I see the class template in the browser text pane, I know that I won't be able to accept a method there.  Maybe post-3.4, we could make things more newbie-friendly by adding "define class" and "add method" menu items in the appropriate browser menus, which would somehow steer people in the right direction (while still preserving the existing ways of defining classes & adding methods, of course).

- Doug