Home

Ish Ot Jr edited this page Dec 9, 2016 · 9 revisions

Development & Reference

Miscellaneous Tools

Testing

Hardware

Resources

Style Guide

  • Google C++ Style Guide
  • Pebble's modifications
    • 100 character lines
    • Two space indents
    • Braces go on the same line as their associated statement
    • Spaces before parentheses except for function calls (e.g. if (foo) but malloc(4))
    • Static variables are prefixed s_, static functions are prefixed prv_
    • Break all the formatting rules if it makes your code more legible