click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian A." <a.adrian.t...@gmail.com>
Subject Re: Sourcecode at 80 chars width only?
Date Sun, 23 May 2010 07:42:32 GMT
>> I see that the Click sourcecode is formatted at 80 chars width, but
>> this is a
>> very very old
>> convention from the times of text based CRTs.
>>
>> Why not use 120? (like the standard in most companies these days)?
>> It makes the code more readable, and there's no screen estate problem
>> - on
>> the contrary, there's no need to scroll down so much for every small
>> thing.
>>
>> The 80 chars width convention also makes no sense for Java since it
>> has so
>> "verbose" naming (compared to the C code style), so just too many simple
>> statements go on a second line.
> Good catch George :).
>
> Indeed, the "80-style" makes the code uglier for Java, and also less
> compact and less readable than the "120-style" one.
>
> +1 for reformatting the code to 120.
Now with 2.2.0 out, I would like to reformat the code to 120, for the 
reasons mentioned.

Are there any issues why we shouldn't do this?

Thanks in advance,
Adrian.


Mime
View raw message