For writing code, you need to learn How to writing cleaner & better code. Today I will give you some tips to write cleaner and better system. Below are some suggestions:
1) Use Descriptive Names
2) Give Each Class/Function One Purpose
3) Delete Unnecessary Code
4) Keep a Consistent Coding Style
5) Choose the Right Architecture
6) Study the Code of Masters
7) Write Good Comments
8) Understand Requirement Proper before Start Writing Code