Subject: Re: a new KNF (and some comments)
To: Martin Husemann <martin@rumolt.teuto.de>
From: Christian E. Hopps <chopps@merit.edu>
List: tech-misc
Date: 01/22/2000 13:14:23
"Martin Husemann" <martin@rumolt.teuto.de> writes:
> > Whats wrong with
> >
> > /*
> > * logn returns the log base `b' of the value `v'.
> > */
> > static float
> > logn(int v, int b)
> > {
> > }
>
> First: that comment is never going to be changed when the parameters change.
I think that if having the documentation inline with the args, and not 3
lines above in a standard place, is the only way to guarantee that the
developer DTRT, then that developer shouldn't be changing NetBSD source.
Chris.