On Thu, Dec 26, 2013 at 10:25 AM, Terry Brown <[email protected]>wrote:


> @shadow allows (clones optional) Leonine code views through organizer
>  
> nodes, complete with node names not derived from method names etc.


Correct.  Just to be clear, @shadow will never go away.

Imo, @shadow is particularly useful in collaborative situations in which
files change infrequently.  In that case, @shadow allows a Leo user to
impose their own structure on an shared file.

 I
>  
> guess the function of @view / @auto-view isn't clear enough to me yet
>  
> to know if they'll replace @shadow completely.


That is not the intention of @auto-view.  @auto is useful when there is
active collaborative work on a file.  So we expect that file's content
*and* organization to change, perhaps significantly.  In that case, a Leo
user would want to save changes in @auto-view as needed, and to be able to
share that structure with other Leo users.

If not, then I guess
>  
> the answer to Kent's question re transporting shadow data in the .leo
>  
> file would be 'perhaps'.  It could certainly work in some collaboration
>  
> situations, not sure if it would work in all.
>

It's important to keep @auto and @shadow separate in our minds.  They are
completely separate beasts internally:  @shadow uses a diff algorithm;
@auto uses an import algorithm.

Hmm.  But as I write this, I suppose Leo *could* apply the data in
@auto-view to an @shadow tree *after* the @shadow algorithm, just as I
envisage @auto-view to be applied after after the import algorithm.

For some reason, I kinda don't like this idea.  Maybe it seems like a
mismatch in concepts somehow.  Otoh, maybe it will just work!

Anyway, our collaboration continues to lead us all in new directions.  It's
amazing how often Kent's "naive" questions turn out to be insightful!
Thanks Terry.  Thanks Kent.

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 http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to