Subject: Re: Time to update KNF?
To: Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
From: Chris G. Demetriou <cgd@netbsd.org>
List: tech-kern
Date: 01/17/2000 17:54:05
Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us> writes:
> no.

I agree, for the reasons that many (but not bill 8-) have given.
Personally, i tend to do something slightly different for sub-indents
(just strictly having 8/4 is often not enough for me), but as a
standard it's not as bad, in my opinon, as just about anything i've
seen with smaller indent levels.  (also, my code editor of choice
makes using tabs The Right Thing for me.  8-)

If you want to poke at KNF and improve it, there are a lot of places
where it can be improved, though.

e.g. use of ANSI, and __P, etc.

like, HELLO, it's _2000_, c89 has been around for > 10 years.
I don't understand why people are hanging on to K&R as a coding
standard now, since it does have some real known issues, and, despite
what i'm sure some would claim, is not a standard.  8-)


cgd
-- 
Chris Demetriou - cgd@netbsd.org - http://www.netbsd.org/People/Pages/cgd.html
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.