On 2/28/06, Eli Golovinsky <egooli gmail.com> wrote:
> I strongly disagree. No matter how badly it is written,
it is a working code
> base that could be refactored as we go.
> All we need to do is choose the first feature we would
like to implement,
> refactor SPE until that feature could fit in properly
and then add it.
>
> Lets say that the first feature we would like to add is
a debugger. And lets
> say that your code is so hideous that it will take two
months of intensive
> refactoring to bring it to a design that can easily
accept the changes
> needed to add debugging support. Lets also say that it
will take another
> month to implement the debugger functionality (that
actually shouldn't be
> too hard after the design can accept the changes).
After three months of
> work we'll have a great editor, with a debugger inside
it. Do you really
> think that it will be done any faster if we just
rewrite the whole thing
> from scratch?
>
> The only problem is the fact the it is better to
refactor in a
> pair-programming fashion - it is much faster and
creates much better code.
>
> You don't need to redesign all of SPE. Each time you
refactor only the parts
> that doesn't fit the new feature you're trying to
introduce.
>
> I don't think SPE is missing that many features.
Mostly it needs a debugger,
> better auto-completion (not based on the objects that
have been declared in
> the Shell) and a plugin framework. I strongly believe
that regardless of the
> state of the code it will be easier to refactor SPE in
the right places and
> add the code than to write the whole thing from
scratch.
>
> Please, please don't be tempted to throw all of your
work away.
>
If you think so, I think many Editor can be a good start
point. What
we need is a core first, maybe not a real editor. I think we
should
not be anxious to create a running demo, but need take good
care of
the design, just like:plugin system, dispatcher, etc. And
debuger can
be a plugin, and many people seldom use debugger just like
me.
--
I like python!
My Blog: http://www.donews.net/l
imodou
NewEdit Maillist: http://groups.
google.com/group/NewEdit
------------------------------------------------------------
---------
To unsubscribe, e-mail: wxPython-users-unsubscribe lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help lists.wxwidgets.org
|