On maandag 8 maart 2004 13:42 Michiel Meeuwissen told the butterflies:
> I think there is still some confusion about how XML's should be
> indented. Can we decide on this?
> 
> I'd propose indenting with 2 spaces (like we indent java with
> 4 spaces), but I would agree on indenting with tabs or so also.
> 
> Now, some XML files are changed completely very often, only because
> indentation changes. 
> 
> 
> Michiel

If I can have a say on this, I'd go for the spaces. Even though I'm a huge
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.


Wouter


(Though, if all developers could agree on the same "tabsize" setting, ...)




Reply via email to