I try to get lines to fit within 80 characters, but otherwise I go for
a neat layout. That often results in statements like these:
int aaaaaaaaaaaaaaaaaaaaaaaaaaa =
bbbbbbbbbbbbbbbbbbbbbbbbbbb(
cccccccccccccccccccc,
ddddddddddddddddddddddddd,
eeeeeeee);
or
int aaaaaaaaaaaaaaaaaaaaaaaaaaa =
bbbbbbbbbbb(ccccccccccc, dddddddddd, eeeee);
or
int aaaaaaaaaaaaaa = bbbbbbbbbbbbbbb(
ccccccccccccc, dddddddddddd, eeeeeeeeeee);
Of course the variable and method names are very meaningful names, not
like those above.
On Thu, Oct 14, 2010 at 1:31 AM, Vince O'Sullivan <[email protected]> wrote:
> On Oct 13, 9:54 pm, Mark Volkmann <[email protected]> wrote:
>> Personally I find code that stays within 80 characters easier to scan
>> with my eyes. Also, it has the side benefit that if I decide to print
>> the code, it fits without wrapping.
>
> I take it from this that you mean that you can fit each statement on
> to an 80 character line without wrapping it? That's good; It's better
> than I can manage with my own 'standard' of 100 characters. Or do you
> manually wrap lines into a neat layout, so that the printer doesn't
> chop things up arbitrarily.
>
> Vince.
>
> --
> You received this message because you are subscribed to the Google Groups
> "The Java Posse" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/javaposse?hl=en.
>
>
--
R. Mark Volkmann
Object Computing, Inc.
--
You received this message because you are subscribed to the Google Groups "The
Java Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/javaposse?hl=en.