wasn't sure i should put this here or in comp.lang.java.misc (or even
comp.lang.misc) but I was wondering what is the consensus for line
length for java code?
i always thought 80 chars/line was proper, since it handles printing
to a printer so well. however, i find myself having to break up lines
of code a bit too much with that number. and with today's printers,
that's not nearly as true as it was with the dot-matrix.
so, i did some "research" (ie: web searches) for proper or standard
line lengths for source code and found 3 different "standards", 80,
100, and 120.
120 would be great (plenty of room) but then I wonder if that might be
a bit to long (150% longer then what I am used to) and if other
programmers saw it they would freak out.
Yes, not really java-specific (though since that's what I code in now,
it's java specific for myself), but thought I'd try to get some
opinions.