Code style
The current code style in Jnode is so inconsistent that it's a royal pain to modify any given file without modifying IDE settings each time.
I'd love to suggest using a more consistent style. Standardise the indent to 4. Eliminate all tabs so that tab stops don't unpredictably change from 4 to 8 (and vice versa) on various editors -- some editors don't even have the option to change the tab stop value.
The Sun style of trailing open braces doesn't really bother me but I've encountered some places in the code where the other brace style is used and it's unclear on which one new code is supposed to use. Pick one.
- Daniel Noll's blog
- Login to post comments
Right
4 chars indentation, spaces instead of tabs and the Sun coding standard is what I prefere too and I think this is the prevalent style in JNode. New code is expected to be so.
I agree that there are inconsitences and we will work on fixing it. Probably a code formatter callable from Ant will be part of the solution.
Regards, Levente
I agree ...
... 100%.