FlexSEA Wiki

A WEARABLE ROBOTICS TOOLKIT

User Tools

Site Tools


styleguide

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
styleguide [2020/04/13 17:23]
rharris [General]
styleguide [2020/04/13 17:24]
rharris [Functions - Arguments]
Line 36: Line 36:
 <​code>​ <​code>​
 //​Description of the function //​Description of the function
-void my_function(void)+void myFunction(void)
 { {
      //My Code      //My Code
Line 44: Line 44:
 <color #​ed1c24>​Bad:</​color>​ <color #​ed1c24>​Bad:</​color>​
  
-<​code>​void ​my_function(void){+<​code>​void ​myFunction(void){
 //My Code //My Code
 }</​code>​ }</​code>​
Line 54: Line 54:
 <color #​22b14c>​Good:</​color>​ <color #​22b14c>​Good:</​color>​
  
-<​code>​void ​my_fct(void)</​code>​+<​code>​void ​myFct(void)</​code>​
  
 <color #​ed1c24>​Bad:</​color>​ <color #​ed1c24>​Bad:</​color>​
  
-<​code>​void ​my_fct()</​code>​+<​code>​void ​myFct()</​code>​
  
 ===== Loops and Conditional statements - Brackets =====  ===== Loops and Conditional statements - Brackets ===== 
styleguide.txt ยท Last modified: 2020/04/13 17:24 by rharris