Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Dec 2005 00:32:09 +0100
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Warner Losh <imp@bsdimp.com>
Cc:        freebsd-hackers@freebsd.org, dunstan@freebsd.czest.pl
Subject:   Re: [CALL FOR TESTERS] New system call: abort2() 
Message-ID:  <2936.1134689529@critter.freebsd.dk>
In-Reply-To: Your message of "Thu, 15 Dec 2005 16:23:52 MST." <20051215.162352.28837879.imp@bsdimp.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20051215.162352.28837879.imp@bsdimp.com>, Warner Losh writes:

>> On the similar note, the ability to move declarations closer to the
>> point of use in code is IMO nice feature, too. The style(9) doesn't
>> mention this either.
>
>C doesn't allow it, or didn't until recently.  That style tends to
>lead to really gross things too.  Functions should be short enough
>that it doesn't matter.

Also, it tends to make it harder to judge the amount of stackspace
a function uses, something which is not entirely uninteresting in
kernel programming.

And yes, changing style(9) is just not worth the time it takes.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2936.1134689529>