![back](/img/common/back.png)
![Blog image](/img/blog/240820/process1Title.jpg)
![Calendar Image](/img/common/postDate.png)
There are a lot of things to keep in mind and processes to follow to make better software. By striving to uphold them, the developers/engineers are not only creating good software, but also a reputation for themselves.
They are termed good practices and we will go through some of them today, which by following, has helped me personally to create better software.
1. Planning
![Planning](/img/blog/240820/planning.jpg)
One should always have a plan of action while developing, no matter which technology/technologies is/are involved. Being impulsive and just winging it might get you the results in short term, but rest assured, it will come to stab you in the back sooner or later. For example, if you are building a web application, you should consider the requirements beforehand and analyze which technologies and frameworks are apt for those and then start the project, not on the fly.
2. Modularising
![Modularising](/img/blog/240820/modularising.jpg)
My favorite OOP concept. Files/classes/functions/methods should be kept as short as possible and doing only the job they are supposed to do. Nothing more and certainly nothing less. This not only ensures and increases the readability of the entire code but also helps in scaling the application in the future.
3. Commenting and documenting
![Commenting and documenting](/img/blog/240820/commenting.jpg)
This might certainly be the most overlooked part of development. How many of us have went back to something written by ourselves 1 or more years back and wondered what it is all about. (You’ll probably wonder how could you have coded something that bad, but that’s not what I am talking about now). If you have had incorporated necessary comments and prepared a proper documentation, you’d have a much easier job of understanding what it was and how you might be able to improve it.
4. Writing tests
![Writing tests](/img/blog/240820/tests.jpg)
Test driven development should come naturally to every software engineer. You might be tempted to skip it all and get to the results faster. Yes, it most probably will get you the results faster but almost always at some cost. Every software should be tested before going into production. So, if you are not writing tests the first time, your testing team will bring you bug/bugs and trust me it won’t always be at the most convenient of times or worse, the bug/bugs might only be found in production. Now, I am not saying just by writing tests, you can create a completely bug free software, but it will certainly help you bring down their numbers significantly.
5. Making use of frameworks
![Making use of frameworks](/img/blog/240820/frameworks.jpg)
Maybe you are the fan of creating everything from scratch and there is absolutely nothing wrong with that. But sometimes you might be solving problems that has already been solved. That is simply wasting time. Nowadays, we have an abundance of frameworks in every technology that are open source and with the backing of huge communities. Use them and concentrate on solving actual problems rather than reinventing the wheel.
Disclaimer : The views and opinions expressed in the article belong solely to the author, and not necessarily to the author's employer, organisation, committee or other group or individual.
All fields are mandatory. Your email id won't be published!