Date: Thu, 28 Jan 1999 10:34:32 +0000 From: Brian Somers <brian@Awfulhak.org> To: Luigi Rizzo <luigi@labinfo.iet.unipi.it> Cc: bde@zeta.org.au (Bruce Evans), current@FreeBSD.ORG, grog@lemis.com, peter.jeremy@auss2.alcatel.com.au Subject: Re: indent(1) and style(9) (was: btokup() macro in sys/malloc.h) Message-ID: <199901281034.KAA93851@keep.lan.Awfulhak.org> In-Reply-To: Your message of "Thu, 28 Jan 1999 08:35:33 %2B0100." <199901280735.IAA08539@labinfo.iet.unipi.it>
next in thread | previous in thread | raw e-mail | index | archive | help
> > >an example -- basically all places where, for efficiency reasons, > > >the code tries to expand in-line various block, the depth of > > >indentation pushes everything to the right end leaving only 20-30 > > >useful chars per line. > > > > See the Linux style guide (linux/Documentation/CodingStyle) for > > strong opinions about this: "if you need more than 3 levels of > > indentation, you're screwed anyway, and should fix your program". > > > > I almost agree. > > in userland, probably me too. In the kernel, i am not so sure. What's the difference ? I've heard people suggesting the opposite in the past - ``low level code is long and thin, high level code is wider''. But the kernel isn't the only place you find low level code. > luigi -- Brian <brian@Awfulhak.org> <brian@FreeBSD.org> <brian@OpenBSD.org> <http://www.Awfulhak.org> Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901281034.KAA93851>