From: Edward K. Ream <[email protected]>
To: leo-editor <[email protected]>
Sent: Wednesday, January 11, 2017 1:33 PM
Subject: Re: Leo's real weaknesses
On Wed, Jan 11, 2017 at 12:31 PM, 'Terry Brown' via leo-editor
<[email protected]> wrote:> I wouldn't be in a huge rush to eliminate
wrappers.
No worries. They can't be eliminated now, because doing so could break existing
code.
EKR
I'm not sure if that can be a blanket statement. I guess Leo doesn't have a
defined boundary between declared API and internals subject to change - perhaps
by default we've assumed the stable API is *everything*, that *no* changes
should break existing code. But I'm sure that doesn't reflect reality, every
time a helper function is eliminated or something like that there's a chance to
break someone's code, somewhere.
To me there's an implicit line between API that must not change
(p.insertAfter()) and internals that would be used by so few, and those few
generally "developers", that the concern about breaking things is outweighed by
the need to be able to refactor the code base as Leo evolves. Unfortunately it
would be a very fuzzy line.
I'm not really sure which side of the line the wrappers fall on. Things like
c.frame.body.wrapper.getInsertPoint are probably used in a lot of scripts, so
maybe that should be considered API.
But what about things like the free_layout framework. I'd like to remove it
and replace it with Qt Docking, I've been working on that, not ready to release
yet, or even close, but do we really need to worry about scripts that might be
broken by such a change? How many people would have interacted with that code?
Tricky.
Cheers -Terry
--
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.
--
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.