On 01/06/2011 04:05 PM, Kurt Van Dijck wrote:

[...]

> I applied a search pattern on this, since I seem incapable of finding
> alignment problems in my own code :-).
> I assume alignment is ok for definitions, but not within functions?
> I consulted the Documentation/Coding-style, but I did not find
> the exact answer.

The rationale behind not aligning code is: If you add later something
longer to the code you have two choices: either realign everything or
don't align the new longer variable. Realigning is evil, because it
breaks "git blame". So it's better not to align in the first place.

cheers, Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Socketcan-core mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-core

Reply via email to