Stick To 80 Columns. Please?

I know we’re not still living in the 1970’s, nor are we still working with 80 column punch cards, but please, for the love of all that is good in the world try to limit your code to 80 characters per line or thereabouts! I’ve been looking at some code recently that has line lengths of 250 characters or more, and that just ain’t right. Not all of us have 60″ flat-panel monitors that will allow us to see those huge lines without horizontal scrolling and it’s damned annoying to have to scroll sideways to see the code. Now I understand that there are times when there just isn’t a good place to break a line to keep it to 80 characters; but that should be the exception and not the rule. Please people, break your lines into reasonable lengths. And don’t put 400 lines of code in a single method either. But that’s another story…

This entry was posted in tech and tagged . Bookmark the permalink.