How do you ensure that your code is clean and well-documented?

Technical