click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian A." <>
Subject Re: Sourcecode at 80 chars width only?
Date Thu, 13 May 2010 10:57:04 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.


View raw message