Wouter van Vliet <[EMAIL PROTECTED]> wrote: 
> fan of tabs. For what I read about the coding conventions, the reason to use
> spaces over tabs was mainly because a lot of folks use a lot of different
> settings "tabsize" which results in different views of the same thing. On
> it's turn, that results in folks changing the tabs to make it look better
> (or more likely: having some formatter ready to do it for them). On every
> machine, a space has the same size and thus 2 spaces are always of te same
> lenght. Namely the lenght of a normal character.
> 


Yes, but we could agree on indenting with tabs, everybody can set her own
tab-length.

The trouble with java-code-conventions is that they required the tab-length
to be 8, while indenting should occur with 4, resulting in a completely
idiotic situation, in which you can as well use no tabs at all (so we made
mmbase code-conventions a bit stricter: no tabs, 4 spaces, which is
compatible with java-code-conventions, because they don't specify when to use
tabs)

For XML we would not be required to have such a stupid convention, so we
could think something up. I slightly prefer spaces because it's more similar
to java-code-conventions then, and easier when I'm forced to use unfamiliar
editor (vi) on server.


 Michiel


-- 
Michiel Meeuwissen 
Mediapark C101 Hilversum  
+31 (0)35 6772979
nl_NL eo_XX en_US
mihxil'
 [] ()

Reply via email to