Skip to main content
 

C++ coding conventions

1 min read

This conventions, they all come from a set of rules or guidelines called The Zen of Python, written by Tim Peters, these were originally made for Python, but since there are a lot of similarities in both languages, they can be used in C++ as well.

These rules mainly talk about order in your code, because somtimes if you are disorganized, it's very hard to understand someone else's code.

So that's why it's a very good idea to follow the guidelines, because it helps others, and it helps you.

I'm going to leave the link were I learned about these conventions.

https://gcc.gnu.org/wiki/CppConventions