monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Another level of refactoring...


From: Stephen Leake
Subject: Re: [Monotone-devel] Another level of refactoring...
Date: Mon, 05 Jul 2010 08:38:55 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (windows-nt)

Richard Levitte <address@hidden> writes:

> It seems like a lot of functionality gets reimplemented through the
> automate commands, and more gets suggested a little now and then.
>
> I'm wondering, instead of having functionality duplicated, would it be
> a bad idea to simply move all the core implementation to the automate
> interface and then reimplement the user commands in terms of calls to
> the automate interface?

When I add an automate equivalent of a user command, I try to factor out
the common code as much as possible. So what you are suggesting is
happening, slowly.

> Richard ( this is, of course, a fairly long term project...  monotone
> 2.0, maybe? )

I don't think we need to make it an explicit goal; it's just good
design, to be followed in new code.

-- 
-- Stephe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]