5. Good coding practices#
In this chapter, we outline some examples of good coding practices - things you should do to make your code robust and understandable to yourself and others.
This includes writing code:
With clear and understandable structure
With descriptive variable names
With an appropriate amount of explanatory comments
That avoids “hard coding”
Let’s explore some examples of good and bad coding practices, as well as coding style guidelines.