Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jan 1999 08:01:33 +0100 (MET)
From:      Luigi Rizzo <luigi@labinfo.iet.unipi.it>
To:        bde@zeta.org.au (Bruce Evans)
Cc:        bde@zeta.org.au, grog@lemis.com, current@FreeBSD.ORG, peter.jeremy@auss2.alcatel.com.au
Subject:   Re: indent(1) and style(9) (was: btokup() macro in sys/malloc.h)
Message-ID:  <199901280701.IAA08320@labinfo.iet.unipi.it>
In-Reply-To: <199901280819.TAA23954@godzilla.zeta.org.au> from "Bruce Evans" at Jan 28, 99 07:18:53 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> I see no evidence of this.  vinum sources don't seem to have a single
> line in KNF, except accidentally.  They have an indentation of 4
> instead of 8, lots of per-statement comments, lots of lines longer
> than 80 characters, lots of block comments without `/*' and `*/' on
> a line by themself, ...

not speaking about vinum, but to me, the indentation of 8 char and
line length of 80 chars are almost mutually exclusive.

See e.g. tcp_input.c ip_input.c and many network device drivers as
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.

	cheers
	luigi
-----------------------------------+-------------------------------------
  Luigi RIZZO                      .
  EMAIL: luigi@iet.unipi.it        . Dip. di Ing. dell'Informazione
  HTTP://www.iet.unipi.it/~luigi/  . Universita` di Pisa
  TEL/FAX: +39-050-568.533/522     . via Diotisalvi 2, 56126 PISA (Italy)
-----------------------------------+-------------------------------------

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?199901280701.IAA08320>