[King Browser] was Re: Learning Squeak
ducasse at iam.unibe.ch
Sun Jan 20 10:01:43 UTC 2002
This is now a long moment that I have this idea in mind but did not find any
time to implement it.
This is not directly related to filtering the core classes but to support
the mental space we have when programming. I use the metaphor of a king and
The idea is that the class we are programming is the king (the focus of our
attention), the king has a court (a set of classes that we will look at to
see their functionality). Usually when I program I end up looking a bit
there and there and often in the same classes. The rest of the classes is
the people and the browser should not show them per default. One class can
be elected to participate in the court or throw away from the court.
A king metaphor browser can
- present the king
- present the court
- support election/rejection mechanisms
Note that the court identification could benefit from a simple type
inferencer and by some of the filtering ideas in the sense of Alan.
But the browser also show us the information with different views.
For example, we can have a method belonging to multiple categories such
as the traditional ones, the 'my favorite' ones, the last ones I visited
(the idea here is to think that there are paths like walking in the forest,
by analysing the changeset or source code browsing we can build such paths),
the last ones I compiled.
What I saw is that often I browse the same method (I open one selector
finder...then close it then reopen it ...then close it). For supporting
multiple categories we are currently building a small framework. We hope we
will have somehting soon. If somebody is interested playing with the idea
contact roel or I).
I was wondering if the metaphor of the king can be applied uniformly also to
Browser itself, i.e., I'm tired to have all the time ten browsers open. But
in the same time I do not like to have buffers because I have to swicth
context. The idea here would be that browser can be elected as a king
browser meaning all the operations (like sender, hierarchies,) will be
reflected in this browser only. The key point is that the "virtual"
categories we have in mind can support this well. I can have a list with the
senders, the different classes I browsed.....
and when clicking on one I can get the usual browser embedded inside the
http://www.iam.unibe.ch/~wuyts/lightweightClassifications/ presents some
preliminary ideas we had.
More information about the Squeak-dev