Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [stellation-res] Source code line length

 --- Jonathan Gossage <jgossage@xxxxxxxx> wrote: 
> In a recent posting, Florin mentioned that he would like to see
> source code line lengths restricted to 78 characters to allow viewing
> on small screens. The other place where this rule can help is when
> printing source code.

If I print code, I also print landscape. In my Eclipse, I have set the
maximum width to 100.

> I found that it was normally possible to find some format that
> would allow the code to be restricted to a 78 column width, but what
> would happen is that a statement that started as a single line could
> wind up becoming 4 or 5 lines and be very difficult to follow the
> flow because of the unnatural structure of the statement.

One statement of 4 or 5 lines? To me it's a sign that this needs to be
rewritten. :)

Ringo

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com


Back to the top