-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adopt some aspects of Google's C++ style guide. (#97)
- All class member variables are now prefixed with 'my_' to avoid confusion with argument parameters, particularly in the constructor and init list. - 'struct' is now reserved for simple data carriers. If it does any calculations, it should be a 'class' instead. - Prefer composition over some unnecessary inheritance for code re-use. A side effect of the member variable rule is that our constructors can now use more descriptive argument names (that were previously truncated to avoid confusion in the initialization list). So I went and gave every class some better names, along with some of the functions as well.
- Loading branch information
Showing
37 changed files
with
3,174 additions
and
2,855 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.