These past few days we’ve worked (among other things) on improving our workflow to write clean code and have a clean git repository.
It all started when Alexis was horrified by seeing my code indented by tabs, and other monstrosities. Following Alexis advice, we decided to start using an automatic code formatting tool, and we also figured it would be nice to write down some norms for our general coding / commenting style.
We settled on clang-format for the code formatting tool, as it seems to be the standard. We tried using the LLVM default style, and were quite annoyed at first at some of the formatting.… Read more