> -----Original Message-----
> From: Mathias Broekelmann [mailto:[EMAIL PROTECTED] 
> Subject: source code formatting
> I like to write code in bad format and press CTRL+F in 
> eclipse which pretty prints the code. But that normally 
> formats the entire file.
> My last commit shows the results. Every line in the file 
> seems to have changed but only format changes.
> Do we have somthing like a style guide to follow?

(Back from vacation and still 700 myfaces messages behind...) 
AFAIK, Apache projects usually closely follow Sun's Java coding
guidelines, which are ok, except for the "four spaces for indent", which
I absolutely hate (I like tabs the most, but I'm not religious about it
and I try to follow particular coding guidelines for each different
project). I understand reasoning for avoiding tabs, but if not tabs why
isn't two spaces enough?

Personally, I try to write compact code in order to make the spaces in
between more meaningful to separate logically different parts of code
from each others, like paragraphs in normal written languages. 

My two cents,
Kalle

Reply via email to