Daniel Noll's blog

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.

Syndicate content