
- Original (not derivative)
- Opening documentation: Purpose, Author, Reference, Date, Version, Notes, etc. (edit Bareminimum.ino sketch for efficiency)
- Formatted
- Modularity: highly cohesive; loosely coupled
- Hieracrchical Design (Scalable): highly-leveragd code, threaded from global/class constants and variables, ensures a robust response to changing project task size
- Scope: priority for local variable declarations over global
- Well-named, consistent, identifiers
- Data types: memory sizes (byte, int, long, single, float, etc.), primitive vs composite (arrays, structs, etc.), all correctly initialized
- Efficient
- Application Specific: In this case: external interrupt
- Well-documented throughout
- Easy to read (no attempt to be cryptic aka, show off)
- Keep statements lengths to the width of your IDE (JG)
- Any others ?
Why Everyone Should Learn to Code