C++ coding conventions

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

1017 08

CC BY 4.0 C++ coding conventions by Salvador García is licensed under a Creative Commons Attribution 4.0 International License.

Comments are closed.