From: Ian Campbell Subject: Re: [PATCH] libxl: new xlu_disk_parse function Date: Tue, 29 Mar 2011 10:10:44 +0100 Message-ID: <1301389844.3962.38.camel@zakaz.uk.xensource.com> References: <1300988989-18305-1-git-send-email-ian.jackson@eu.citrix.com> <1300988989-18305-2-git-send-email-ian.jackson@eu.citrix.com> <1301333477.1691.7.camel@qabil.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Stefano Stabellini Cc: "xen-devel@lists.xensource.com" , Ian Jackson , Gianni Tedesco List-Id: xen-devel@lists.xenproject.org Please trim your quotes guys! On Mon, 2011-03-28 at 19:13 +0100, Stefano Stabellini wrote: > On Mon, 28 Mar 2011, Gianni Tedesco wrote: > Besides when doing refactoring the code produced should be either shorter or > at least easier to read but this code is neither of them. Without reference to this specific patchset I disagree with "shorter" here. The important things are clarity, maintainability, correctness etc (and possibly performance depending on circumstances). Brevity is a poor indicator for any of these (or anything really, unless you are playing Perl golf) although it may be a partial factor in some of them. It is perfectly possible that a refactoring doubles the number of lines of code yet is still a clear improvement. Ian.