3 Rules that every developer should follow
Having a pragmatic approach to anything in life is always a good idea because it helps you to avoid any hiccups in the longer run.
Today let’s talk about 3 rules that every developer should follow to avoid any hiccups in software development.

1. Be practical when you give project estimates:
Estimates are driven by project requirements, and sometimes project requirements change during development or are ambiguous, to begin with.
The problem with an ambiguous project requirement is, different people when they read it will have different ideas about the requirement and its complexity.
A bigger problem arises when developers read such requirements and provide estimates for it, so before you give the estimate here are some of the rules you can follow
A. Read the project requirement carefully.
B. Ask all your doubts, no matter how silly they sound, leave no room for assumptions.
C. If you see a complex module, which would need some proof of concept work then make sure you mark those modules as spike and communicate the same with your manager.
D. Do not give estimates based on your gut feeling or assumptions, be very clear on what the requirement is.
Sometimes it may happen that you may end up spending more hours than what you estimated and it’s completely fine, but do make sure you communicate this to your project manager.
2. Follow programming principles
The project you are coding today will be may be maintained by some other developer or in fact, it could be even you. If you don’t follow any programming principles and have spaghetti code written all over the place you will be having a hard time making code changes for simple change requests.
You may make a change and then an existing functionality could break causing frustration.
Not following any programming principles can cause more work for you in the longer run, and a smaller change could take weeks to implement delaying the project release.
So whatever technology you follow, do make sure you follow programming principles.

3. Write test cases for your project
As a developer, the module you code or change has to be tested by you for all the use cases mentioned in the user story.
Nothing frustrates a QA more than having to re-test the entire application just because some feature is not working.
Every build that you release to the QA should be production quality with zero defects.
You should write a unit and integration test for your application which will avoid breaking existing features and will test your code for the new feature.
Once your test pass, run the application and manually test it for all use cases to see if everything is working fine as expected.
I hope these three rules will help you in becoming better, if you follow any rule which has benefited you then please do mention that in the comment.
Thank you for reading, I hope you found this article useful.






