[riot-devel] Coding-conventions: astyle
hwill at inf.fu-berlin.de
Mon Jun 24 19:39:34 CEST 2013
I would absolutely prefer the space between a keyword and the
parenthesis. This convention is much more common and more readable.
>> It appears the astyle does not adhere to our conventions when it comes to
>> spacing if-statements (if (foo) vs. if(foo)).
> Hmm, too bad. I wasn't careful enough here. However, though Linux' coding
> style proposes to use a space after keywords such as if, switch, case, for, or
> while, I personally don't have any strong feelings for the one or the other
> option. What about you? Would you agree to leave the code as it is (i.e.
> without a space between these keywords and the opening parenthesis) and just
> update the coding conventions? Or is there any strong reason to avoid this?
. Freie Universitaet Berlin, Inst. fuer Informatik, AG CST
. Takustr. 9 (Raum 107), D-14195 Berlin, Germany
. Sprechstunde: Freitag 14.00h
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4999 bytes
Desc: S/MIME Kryptografische Unterschrift
More information about the devel