Re: [riot-devel] C++ Style Guide

2015-06-25 Thread Hiesgen, Raphael
Hello, I created a wiki article [1], which is not linked anywhere yet. >> 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. > > +1, indentation must match between th

Re: [riot-devel] C++ Style Guide

2015-06-25 Thread Joakim Gebart
On Thu, Jun 25, 2015 at 11:44 AM, Johann Fischer wrote: > 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++ >> St

Re: [riot-devel] C++ Style Guide

2015-06-25 Thread Oleg Hahm
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 ++

Re: [riot-devel] C++ Style Guide

2015-06-25 Thread Johann Fischer
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

Re: [riot-devel] C++ Style Guide

2015-06-25 Thread Joakim Gebart
Good initiative! Could you create a new wiki article similar to https://github.com/RIOT-OS/RIOT/wiki/Coding-conventions for the C++ conventions? /Joakim On Thu, Jun 25, 2015 at 11:09 AM, Hiesgen, Raphael wrote: > Hi, > > > it is time to write a C++ Coding Style Guide for RIOT. Since C and C++ h

[riot-devel] C++ Style Guide

2015-06-25 Thread 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. Raphael