Code layout and debugging time

Dag-Erling Smorgrav des at ofug.org
Wed Apr 23 14:42:09 PDT 2003


Jonathon McKitrick <jcm at FreeBSD-uk.eu.org> writes:
> Sixteen percent would mean every 6 lines or so.  That seems far too dense in
> my opinion.  Even when you look at hardware drivers in the kernel, there are
> often only 1 or 2 lines together, separated from the rest by comments and
> whitespace.  I just don't get how debug time would 'increase dramatically.'

That is way too much, and bde would have your nads for breakfast if
you committed anything like that.

Simply put, too much whitespace is just as bad as no whitespace at
all.  Imagine reading a book where every sentence is a separate
paragraph; paragraph breaks become worthless because they no longer
serve to group sentences together.

DES
-- 
Dag-Erling Smorgrav - des at ofug.org


More information about the freebsd-chat mailing list