Skip to main content

One doc tagged with "clang-format"

View all tags

Styling Guidelines for C/C++ projects

I am a believer of the saying: "The experience talk and we should listen". So I am not going to be the weirdo here. If you arrived to an already started project, you don't have a saying in the style and you should under all circumstances (even your own liking) maintain that style guide. The consistency is the most important aspect while reading code. If for the whole project you are using tabs instead of spaces, go for it. There is nothing more ugly (believe me) that seeing tabs and spaces together in the same file 馃槚. Imagine the beauty in languages like Python...