[riot-devel] C++ Style Guide

Oleg Hahm oliver.hahm at inria.fr
Thu Jun 25 12:41:39 CEST 2015


Hi Johann!

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

I agree to object a 2 spaces-indentation.

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

Is this a metaphysical question? ;-)

SCNR: 
“There are only two things wrong with C++: The initial concept and the
implementation.” (Bertrand Meyer)

Cheers,
Oleg
-- 
If no space is available nothing happens.
        RIOT/sys/net/include/pktbuf.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.riot-os.org/pipermail/devel/attachments/20150625/8dcd4b4e/attachment.sig>


More information about the devel mailing list