Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Mar 2009 02:17:29 -0700
From:      Colin Percival <cperciva@freebsd.org>
To:        Christoph Mallon <christoph.mallon@gmx.de>
Cc:        svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, marius@alchemy.franken.de
Subject:   Re: svn commit: r190098 - in head/sys/sparc64: fhc sparc64
Message-ID:  <49C60229.2040400@freebsd.org>
In-Reply-To: <49C5FCCA.5010509@gmx.de>
References:  <49C4C974.5050209@gmx.de>	<20090321130332.GD67783@alchemy.franken.de>	<49C5737F.1050902@gmx.de>	<20090321.175756.-434257642.imp@bsdimp.com> <49C5F88C.3070600@freebsd.org> <49C5FCCA.5010509@gmx.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Christoph Mallon wrote:
> (two loops plus three if ()s, which can easily 
> happen in a non-trivial algorithm, and you start at column 48 of 80)

I've found that this is usually a very good point at which to ask myself
if the code in question can be refactored.  I'm not saying that I refactor
code just to make it fit into an 80 character width -- it's just that I
often don't notice how complex a routine is getting while I'm writing it,
unless I have some external prompt; and finding that I'm wrapping lots of
lines provides exactly the sort of reminder I need.

-- 
Colin Percival
Security Officer, FreeBSD | freebsd.org | The power to serve
Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49C60229.2040400>