Open GoogleCodeExporter opened 9 years ago
Sun's coding standard is outdated for indentation. They have the 'four spaces
for first indent, but tab to capture two indents' silliness arrived at through
emacs defaults. Please consider something -- anything -- more sensible. I've
seen both the following alternatives, and they are all superior to Sun's
standard:
1. always tabs, a tab per indent level
2. never tabs only spaces, each indent level is 2/3/4 spaces
Original comment by dilum.ra...@gmail.com
on 27 Sep 2010 at 3:30
Also, 80 characters as max width is also outdated. Pretty much all screens can
fit more, and most printers can print more. But this is not nearly as painful
as the indenting standard.
Original comment by dilum.ra...@gmail.com
on 27 Sep 2010 at 3:32
The 80-character thing is not a factor of screen/printing width, but
readability.
re: tabs/spacing and indents -- I'm in the "never use tabs" camp.
Anyhow, I've pretty much moved away from Java for the foreseeable future, so my
preferences shouldn't be weighed heavily, if at all ;)
Original comment by cresw...@gmail.com
on 27 Sep 2010 at 4:31
Original issue reported on code.google.com by
cresw...@gmail.com
on 15 Feb 2009 at 9:11