"Steve Bergman" <[EMAIL PROTECTED]> writes:

> In my opinion, Guido's 80 character line limit hurts readability for no
> good reason. (Even old, narrow, dot matrix printers can handle 96-132
> characters/line.)

It is not about what it can handle (IMHO), but about avoiding wrapped
lines. I can make my Emacs 314 characters wide on my current screen,
but that doesn't make it a good idea :-)

With 80 characters per line, then you're pretty sure that everybody
will see the lines unwrapped. I always hate it when my editor (Emacs)
wrap the line in a more or less arbitrarily place, I much prefer the
programmer to insert logical break-points.

Long lines might also try to do too much stuff and code readability is
often improved by splitting them up into two or three lines using a
temporary variable.

-- 
Martin Geisler  ---  <[EMAIL PROTECTED]>  ---  http://mgeisler.net

Read, write, create Exif data in PHP with PEL:       http://pel.sf.net
Take control of your webserver with PHP Shell:  http://phpshell.sf.net

Attachment: pgp8Egy4iwAiW.pgp
Description: PGP signature

Reply via email to