Issue 5017 in pharo: Reasonable ordering of variables in tools

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 5017 in pharo: Reasonable ordering of variables in tools

pharo
Status: Accepted
Owner: [hidden email]
Labels: Type-Cleanup

New issue 5017 by [hidden email]: Reasonable ordering of variables  
in tools
http://code.google.com/p/pharo/issues/detail?id=5017

Pharo1.4a Latest update: #14232

The Inspector/Explorer lists instance variables as follows:
* root superclass in order declared
...
* class in question in order declared

The user experience is that they are randomly ordered (not far off, lol)  
and one has to snoop around to find a particular variable.

To see for yourself:
1a. "StandardWindow new inspect"
1b. or "StandardWindow new explore"

I can think of two reasonable ways to order:
1. one big alphabetical list
2. grouped by class from the class in question back to the root superclass,  
and alphabetical within the groups. This would be clearer if there was  
visual separation between the groups, like a horizontal bar; but that would  
obviously be a big change


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5017 in pharo: Reasonable ordering of variables in tools

pharo
Updates:
        Status: Closed

Comment #1 on issue 5017 by [hidden email]: Reasonable ordering of  
variables in tools
http://code.google.com/p/pharo/issues/detail?id=5017

The problem is that variables do have an order: the ivar offset. If we  
order them by name, this would be quite confusing...
So I vote for not doing it.


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker