Yesterday I saw clearly why Leo is a superior browser for Pharo.  The 
reason is literally in plain sight.

*Gui*

Leo uses a *single *tree.  With the settings I use, *all* the ancestors of 
a node are visible, and *nothing else*.  All the siblings of the selected 
node are visible.  When moving up the tree, nodes collapse automatically.

Pharo's browsers are *gui temples*.  They have 5 pillars delimiting four 
temple "*bays*".  You can't change this gui architecture, no matter what 
you are browsing.

*The Aha*: Pharo's browsers show way too much, then rely on filters to show 
less in each bay.  This fixed architecture wastes screen real estate.  The 
Leo way is *way* better.

Finally, you can't reorganize the nodes in a Pharo browser.  They are 
pathetically static.

*Filters*

Pharo filters are (I think) limited to names shown in a particular temple 
bay.

Leo's clones can be created on *any* criterion (c.cloneFindByPredicate), 
and can be stored anywhere in the Leo outline, for as long as desired.  
Leo's clones are far superior to simple filters on names.

*Working areas*

Afaik, Pharo has no real working memory visible to the user. This means 
that filters can not be extended to graphical elements.  Grafoscopio fixes 
this, but this fix does not extend to Pharo browsers.

Everything in Leo is part of a Leo outline, without exception.  *There is a 
place to put the results of clone-find*.

*Summary*

leo-editor-contrib 
<https://github.com/leo-editor/leo-editor-contrib/tree/master/StudyOutlines> 
now contains grafoscopio.leo 
<https://github.com/leo-editor/leo-editor-contrib/blob/master/StudyOutlines/grafoscopio.leo>.
  
I created this Leo outline by hand, from a .st file.  This .leo file 
*proves* that Leo is a much better browser than Pharo's temples.

I'll soon automate the process of creating .leo files from .st files. This 
will be a Leonine (python) script, not a Pharo script. No way am I going to 
use crappy class browsers to study Pharo code.

As always for the Pharo Chronicles, all comments are encouraged.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to