User Tools

Site Tools


coding_style

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
coding_style [2021/10/29 21:13] – add libserial damiencoding_style [2022/09/16 16:00] – [Suggestions] ddecoeyer
Line 171: Line 171:
  
 Ubuntu package to install: ''libserial-dev'' Ubuntu package to install: ''libserial-dev''
 +
 +===== Suggestions =====
 +
 +  * switch case indentation:
 +<code cpp>
 +switch(<var>)
 +{
 +    case <value>:
 +    {
 +        <code>
 +        break;
 +    }
 +}
 +</code>
coding_style.txt · Last modified: 2022/09/16 18:16 by ddecoeyer