svn commit: samba r23597 - in branches/SAMBA_3_0/source/script: .

Gerald (Jerry) Carter jerry at samba.org
Mon Jun 25 22:08:38 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Volker Lendecke wrote:

> Is there a technical way to limit only new code to 80
> columns?

We could add a pre-commit hook to svn.  Or just have
the build farm run the 80 column test and consider any
infractions a build failure :-)

> My main reason for the 80 colums is not that I can not
> afford a large screen, it is that it makes it hard to write
> deeply nested control structures. More than 2 levels at most
> is confusing 99% of the time. There definitely are necessary
> exceptions (I'm deep in open_file_ntcreate() again), but
> these should be avoid even at very high cost.

Yup.  +1.  It's not a screen size thing as much as it is a
visual indications that things are going wrong if you
are too many levels deep.



cheers, jerry
=====================================================================
Samba                                    ------- http://www.samba.org
Centeris                         -----------  http://www.centeris.com
"What man is a man who does not make the world better?"      --Balian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGgDzmIR7qMdg1EfYRAquTAKDoxL1GSAJ9pTu2mDgSPjJjx6XI1QCggKF/
WreF2xWNblYUI1qZVjMFvtE=
=4MIy
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list