From: Andrew Cagney <cagney@redhat.com>
To: Kris Van Hees <kris.van.hees@oracle.com>
Cc: pearly.zhao@oracle.com, Frysk Mailing List <frysk@sourceware.org>
Subject: Re: [patch] fix bug 4612
Date: Mon, 30 Jul 2007 15:18:00 -0000 [thread overview]
Message-ID: <46AE011D.5020605@redhat.com> (raw)
In-Reply-To: <20070730143927.GA22305@oracle.com>
Kris,
Our guideline is: re-factor early, re-factor often(1). Here we trust
and allow Pearly to make a decision such as when to best apply a
refactorings.
Andrew
(1) A refactoring , by definition, is not part of a functional change
such as a bug fix.
Kris Van Hees wrote:
> The code duplication between the Disassembler and Memory windows has been
> mentioned during the conf call where I pointed out the various problems
> found with those windows (and their implementation). It certainly could do
> with a refactoring, although it is too early for that right now. For one,
> I do not think it is wise to do it as part of a bug fix, and secondly, the
> planned changes to the Memory window will cause it to deviate more from the
> Disassembler window than it does now, so premature refactoring is likely to
> need a (partial) reversal later on.
>
> Cheers,
> Kris
>
> On Mon, Jul 30, 2007 at 09:02:19AM -0400, Andrew Cagney wrote:
>
>> Pearly,
>>
>> The below looks fine. Will you be around tuesday morning (your time?).
>> I'll send you off list some stuff to do with CVS so that you can check this
>> in.
>>
>> Two things to think about though:
>>
>> -> testing;
>> When making fixes we all endeavor to author the test-case up-front so that
>> we can directly demonstrate that the change has the intended effect.
>>
>> -> it looks like there is much code duplication between the Disassembler
>> and Memory windows;
>> an opportunity to refactor?
>>
next prev parent reply other threads:[~2007-07-30 15:18 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-27 2:16 Zhao Shujing
2007-07-30 13:02 ` Andrew Cagney
2007-07-30 14:39 ` Kris Van Hees
2007-07-30 15:10 ` Kris Van Hees
2007-07-30 15:38 ` Andrew Cagney
2007-07-30 15:48 ` Sami Wagiaalla
2007-07-30 16:20 ` Sami Wagiaalla
2007-07-30 15:18 ` Andrew Cagney [this message]
2007-07-30 17:26 ` Elena Zannoni
2007-07-31 10:24 ` Mark Wielaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46AE011D.5020605@redhat.com \
--to=cagney@redhat.com \
--cc=frysk@sourceware.org \
--cc=kris.van.hees@oracle.com \
--cc=pearly.zhao@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).