Re: Update of Coding standards line length
| From: | till | Date: | Tue, 25 Nov 2008 18:07:15 +0000 |
| Subject: | Re: Update of Coding standards line length | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-51153@lists.php.net to get a copy of this message | ||
On Tue, Nov 25, 2008 at 6:31 PM, till <till@php.net> wrote:
> On Tue, Nov 25, 2008 at 12:42 AM, Harley Bussell <harley@zealphp.com> wrote:
>> It seems that the line length standard is a hold over from the days
>> when people had to work on low res terminal screens. I'm not aware of
>> any definitive stats but i would guess most developers would be
>> working on 1280*1024 + screens now.
>>
>> Personally working on a 1900*1200 screen the 80 character limit
>> detracts from readability instead of improving it.
>>
>> What would you think about increasing the limit to better suite modern screens?
>>
>> Thanks, Harley
>
> Strong -1 ;-)
>
> I'm working on my laptop a lot and it runs on 1024x768. (It's not old,
> but IBM/Lenovo is just conservative with the X-models.) Also, I rarely
> ever have my editor or IDE on full display anywhere. And I also really
> despise having to scroll to the right. ;-)
>
> Till
Just by the way - there's also a certain amount of characters per line
which people are able to read and comprehend.
And from what I remember, it's way below 80 characters. This is one of
the reasons why in a newspaper, the articles are never across the
entire page from left to write, but they are devided up into columns
which are far easier to read. (I'm not suggesting we do the same. ;-))
So, IMHO readability is an issue when it comes to code. Printability
is just another one why I like to enforce this rule.
Unfortunately I don't have the study to back up my claim, but it's
somewhere on the Internet. ;-))
Till