writing clean code
Design Pattern Primer: The Factory
When writing object oriented code we end up needing to create a lot of different objects. Sometimes the process to create those objects is complex or maybe we don't know exactly which type we will need to create. Situations like these are where using the Factory pattern comes in handy.
Having a Refactor Plan
The Boy Scout Rule [https://deviq.com/boy-scout-rule/] is mostly non-sense. In any moderately complex system the smallest changes can have wide spread & unforeseen effects. Technical debt is a problem & fixing it should be just as important to the business as fixing a bug or adding a new feature. It
Code Clarity: Thinking About Code as Questions & Answers
Anyone can write code a computer can understand. It takes an expert to write code a human can understand. In this post we are going to look at an example of how to add clarity to our code by thinking about our logic as a set of questions & answers.