What is a Quality Code?
A high-quality code is a code that is easy to understand and has the least bugs. It performs what is expected of it and follows the level of the language it is written in. Now that you know what I am talking about let's see how we can write quality code.
5. Jalan
Technology
Consulting
As Pullrequest quotes
"A recent study from Stripe and Harris Poll found the average developer spends 42% of their time
dealing with technical debt and maintenance issues, of which 3.8 hours are spent just on debugging
“bad code,” or poor quality code that’s difficult to maintain. The opportunity cost of bad code
comes to $85 billion annually — resources that could otherwise be used to build better software."
13.5 Hours
Technical DEbt
3.8 Hours
Bad Code
13. Jalan
Technology
Consulting
2. Invest in BDD Framework
Invest in automated (recommended BDD frameworks) testing framework,
mock third party services and write tests as to how you write user stories.
14. Jalan
Technology
Consulting
3. Integrate a CI/CD System
Ensure before code is committed, the system verifies that the repo can be
built, tests are passing and code formatting is correct. CircleCI is a good one.
16. Jalan
Technology
Consulting
5. Review README file
Ensure the README file has sections that give an overview of the project,
how to set up and contribute as well as how to deploy to production.
18. Jalan
Technology
Consulting
7. Do A Weekly Demo
Do a weekly/fortnight demo of the changes within
the team. This changes everything. Make it a habit.
19. Jalan
Technology
Consulting
8. Add TODO'S In The Code
Add TODO's in the code to track technical debt. Add them to your ticketing system.
Address at least one technical debt every sprint. JIRA is a good tool for this.
21. Jalan
Technology
Consulting
We work with entrepreneurs and business
leaders to execute their vision by building
software products.
If you are looking for a technology partner, feel
free to reach out to
jjalan@jalantechnologies.com.We hope our
assistance will help!
Thank You!