[riot-devel] Coding-conventions: astyle

Heiko Will 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.

> Hi!
>> 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?
> Cheers,
> Oleg

Heiko Will
.  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...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4999 bytes
Desc: S/MIME Kryptografische Unterschrift
URL: <http://lists.riot-os.org/pipermail/devel/attachments/20130624/1000218a/attachment.bin>

More information about the devel mailing list