-
Notifications
You must be signed in to change notification settings - Fork 0
Systemdeveloper IoT Standards
Eric Grahn edited this page Apr 1, 2025
·
2 revisions
| Guideline | Example |
|---|---|
| const - CAPS | const int TEST = 1; |
| normal variable - snake_case | int test_one = 1; |
| Guideline | Example |
|---|---|
| camelCase | void testFunction(); |
| New line after function construction | void testFunction () { //This is what is means} |
| Guideline | Example |
|---|---|
| Classes - PascalCase | class MyClass { //This is what is means}; |
| Class instance - PascalCase | MyClass Myclass; |
| Structs - PascalCase | struct MyStruct { //This is what is means}; |
| Struct instance - PascalCase | MyStruct MyStruct; |