Skip to content

Instantly share code, notes, and snippets.

@FooBarWidget
Created November 2, 2012 15:37
Show Gist options
  • Save FooBarWidget/4002066 to your computer and use it in GitHub Desktop.
Save FooBarWidget/4002066 to your computer and use it in GitHub Desktop.
  • Use 4-space tabs for indentation.

  • Wrap at approximately 80 characters. This is a recommendation, not a hard guideline. You can exceed it if you think it makes things more readable, but try to minimize it.

  • Use camelCasing for function names, variables, class/struct members and parameters:

     void frobnicate();
     void deleteFile(const char *filename, bool syncHardDisk);
     int fooBar;
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment