From owner-freebsd-current Thu Jan 28 01:46:33 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA17620 for freebsd-current-outgoing; Thu, 28 Jan 1999 01:46:33 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id BAA17611 for ; Thu, 28 Jan 1999 01:46:30 -0800 (PST) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id IAA08539; Thu, 28 Jan 1999 08:35:34 +0100 From: Luigi Rizzo Message-Id: <199901280735.IAA08539@labinfo.iet.unipi.it> Subject: Re: indent(1) and style(9) (was: btokup() macro in sys/malloc.h) To: bde@zeta.org.au (Bruce Evans) Date: Thu, 28 Jan 1999 08:35:33 +0100 (MET) Cc: bde@zeta.org.au, current@FreeBSD.ORG, grog@lemis.com, peter.jeremy@auss2.alcatel.com.au In-Reply-To: <199901280939.UAA30919@godzilla.zeta.org.au> from "Bruce Evans" at Jan 28, 99 08:38:44 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > >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. luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message