Skip to content

Conversation

@capnspacehook
Copy link
Collaborator

Something I've found that can improve productivity and readability of code is formatting it. It makes it easier for multiple developers to work on the same codebase as the formatter will ensure they will all use the same style. It also make the code more readable by making the style consistent everywhere.

This is just a suggestion for the style, if you want to change it let me know and I can re-format and push. I tried to keep the style similar to what you already were using, just more consistent. Available style options are here: https://clang.llvm.org/docs/ClangFormatStyleOptions.html.

clang-format can be setup to run automatically when saving files in Visual Studio or in VSCode, removing the need to run it manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant