proper commenting and documentation proper commenting and documentation help other programmers to use our code and understand properly. In a project , if someone join in between it will help them to understand it. it also sometime helps us to understand our code easily 2. proper Exception handling This is…