Their are some things those comes to me based on my personal experience .A developer should understand the problem and focus on best possible solution to that problem before starting the actual code. Understanding of problem will give you a clear idea about the requirements and solution.
These are the top tips given by senior in development life-cycle :
- Understand the Business Logic!
- Find out best possible solution
- Stay interested
- Love the error
- Learn how to work with others
- Don’t just code —optimize it.
This process will give you less bugs.......Love the work you do!!!!