Category

Programming

Category

Code Quality: A code that endures endless business requirements: Part-3 Hello everyone! We’ve been spending a lot of time in the last blog posts understanding what bad code is, how to objectively measure it, and even more, how to refactor a committed crime. And now, the time comes to understand how we can brilliantly craft a well-designed (hopefully?) greenfield project that is easy to maintain, to read, and to extend in the future. The purpose…

Write a code that endures endless business requirements: Part-2 On Code Refactoring! Introduction So, you got to know what are the consequences of bad code (here & here). You also got to understand how you can objectively decide if a particular piece of code is horrible or not (here).  And if it happens to be devilish based on the quality metrics, how can we refactor that code? Then comes the question: Ok, I have inherited…

Write a code that endures endless business requirements: Part-1 On Software Code Quality Metrics! Hi everyone! Here I am back after a long vacation (one month and a half!) in my home country, Sudan. It was an amazing vacation where I met many old friends, relatives and enjoyed our local food! Returning to blogging. I discussed why you should aggressively invest in your coding skills in Part-1 and Part-2. I hope that I made a…

Invest on your clean coding skills-Part 2 In the first part of this series, I shared some reasons why I believe writing bad code is a horrible idea, here I continue on that before sharing resources and tips to improve coding quality in the third part. Bad code hinders technology Another curse with the lousy code is that it can severely limit your opportunities to upgrade to newer technology. For example, imagine that you use…

Invest in your coding skills to avoid bad code – Part 1 Since the early 2000s, I started my software development journey as a hobbyist kid who used to develop small hacking programs using Visual Basic 6.0. I succeeded in writing a couple of programs that used to function correctly with extremely horrible code. It is a horrible code to the extent that when I plan to style a button in blue background color with…