Re: Is 80-column source code formatting still standard ?
Mary Gardiner <[email protected]>
| Newsgroups | gmane.org.user-groups.slug.chat |
|---|---|
| Message-ID | <[email protected]> |
One point in favour of approx 80 character lines in both code and writing is that apparently there is some suggestion that it's much more natural to read text of that width than it is to read really long lines. This occasionally comes up in web design too. (My hope with web layouts is that one day soon browsers will make it easy to flow text in 80 character columns down the height of the viewport but that one scrolls *sideways* to see more columns.) On Thu, Jun 26, 2008, Mark Greenaway wrote: > Mark, who has horrible memories of long arguments about this issue when > he was working as a programmer. What a waste of time. It, and other religious debates that are going to result in diffs, should be covered in your house style guide. Whatever the width is, it's handy to have some kind of macro that reminds you of it. There's a vim one that will turn unauthorised chracters at the end of a line bright red. -Mary -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html