How do you ensure that your code follows best quality practices and is fit for purpose?

Technical