[riot-devel] C++ Style Guide

Johann Fischer j.fischer at phytec.de
Thu Jun 25 11:44:09 CEST 2015

Hi Raphael,

Am 25.06.2015 um 11:09 schrieb Hiesgen, Raphael:
> Hi,
> it is time to write a C++ Coding Style Guide for RIOT. Since C and C++ have different traditions here, I will simply start to suggest using the C++ Style used in CAF [1]. While it is not identical, the style is relates to the guidelines used by Google and C++ Standard Library.

How I see it is very similar to RIOT coding style.  2 spaces per 
indentation level is not acceptable to me, should be 4 as in C coding 
style. Otherwise, I find it very good.

By the way, can someone explain to me short why we need C ++ at all?

Johann Fischer

More information about the devel mailing list