On 23/10/11 09:56, Carsten Haitzler (The Rasterman) wrote:
> i see my test worked. the irrational formatting pedants now come out of the
> woodwork. i did this to see just who would respond and how.

You test was a bit biased from the start. Making the commit message this 
provoking is sure to cause extreme and immediate responses.
>
> i added spaces on BLANK LINES that align with indenting. all it takes is an
> enter or hitting tab. all editors do this by default (with autoindent on).
>
> are these pedants (like you and vincent) proposing that we fight against our
> editors and keep undoing the work they do for us? i assume the answer is yes
> because this whole thing is irrational.

Decent editors (and even less than decent ones), like vim, automatically 
remove the automatic indentation when it was not used, i.e when you 
don't insert code.

Trailing whites are bad for a couple reasons, some of which are:
* unwanted increase in source code size (it's actually noticeable, but 
hey, it's also the case with spaces vs tabs).
* Increased likelihood of merge clashes. It's easier to miss whitespace 
changes when you don't care about them, and a lot of whites can make it 
nuts.
* Causing annoying line-wraps for no reason. (a couple of trailing whites).
* People (I'm among them) just don't like trailing whites.
* Some other things I can't think about atm.

--
Tom.

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to