Subject: Re: CVS commit: src/distrib/utils/sysinst
To: Perry E. Metzger <perry@piermont.com>
From: John Hawkinson <jhawk@MIT.EDU>
List: source-changes
Date: 07/18/2003 11:27:47
Perry E. Metzger <perry@piermont.com> wrote on Fri, 18 Jul 2003
at 10:21:31 -0400 in <87n0fbx6dw.fsf@snark.piermont.com>:
> David Laight <dsl@netbsd.org> writes:
> > Change a lot of 'if (strlen(x) == 0)' to 'if (x[0] === 0)'.
>
> Why bother? Was this performance critical code? The former is clearer
> to the reader.
I do not think you can seriously argue that the clarity is stronger
either way.
--jhawk