Date: Thu, 28 Jan 1999 11:32:35 -0500 (EST) From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> To: "Daniel C. Sobral" <dcs@newsguy.com> Cc: current@FreeBSD.ORG Subject: Re: btokup() macro in sys/malloc.h Message-ID: <199901281632.LAA17377@khavrinen.lcs.mit.edu> In-Reply-To: <36B04265.842788DA@newsguy.com> References: <99Jan28.131753est.40347@border.alcanet.com.au> <36B04265.842788DA@newsguy.com>
next in thread | previous in thread | raw e-mail | index | archive | help
<<On Thu, 28 Jan 1999 19:56:37 +0900, "Daniel C. Sobral" <dcs@newsguy.com> said: > Peter Jeremy wrote: >> >> I'll support that. The example given in style(9): >> >> a = b->c[0] + ~d == (e || f) || g && h ? i : j >> 1; >> >> should rate as an entry in the Obfuscated C competition rather than >> an example of maintainable code. > As a matter of fact, what's the reasoning behind this particular > style(9) recommendation? I believe that it was an attempt on Berkeley's part to ``raise the bar'' for kernel coders -- `if you don't know the C operator precedence table by heart, you shouldn't be writing kernel code'. Obviously, it didn't work, or we wouldn't be here today. -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick 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?199901281632.LAA17377>