On 12/20/06, Andreas Kostyrka <[EMAIL PROTECTED]> wrote:
* Steve Bergman <[EMAIL PROTECTED]> [061219 17:41]: > > 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.) Well, 80 characters is kind of a standard for us old Unix-heads. Working with Windows Python developers, using their all-fancy no-use IDEs, I've noticed that not one even considers so lowly questions like what is easy to read. IDE developers tend not to care for line lengths, nor for nice looking intendation. Actually, to long lines are bad, not just because of scrolling, but because they are harder to read for humans. And to summerize one last thing, some unlucky souls might be forced to read (and in some crazy situations fix) code on the run. This is usually more of an admin thing, but it exists. And that can mean a putty session on a Nokia 9500.
80 character lines are great for coding on a laptop. That leaves plenty of pixels left to stick a couple terminals/editors/browsers next to each other. I wouldn't be able to get work done effectively if all of my code had really long lines. Especially web development where I generally have a psql prompt, debug console for the web server, one or two browsers, and then the model/controller/template in a text editor. The general tenet is that if your code is longer than 80 chars per line, you're (probably) trying to do too much in one line. [ObjectiveC wouldBeTheExceptionHere: becauseItsSelectorsAreRidiculouslyVerbose:], but Python is (generally) concise. -bob --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

