DRY – When you SHOULD duplicate your code

DRY – When you SHOULD duplicate your code

One of the most popular and misunderstood principals is the DRY principle. Many people think that DRY is about duplication of code, but in fact it’s about duplication of knowledge. In this #software_design video I dove deep into the DRY principle, talked about what it actually means, and the design principle behind it (coupling). I…

Why Your Code Needs Abstraction Layers

Why Your Code Needs Abstraction Layers

Abstraction is one of the most important aspects of writing well-designed software. Understanding the underlying concept will give you a system to follow and a clear mental model on how to create good abstractions. Good abstractions reduce complexity and allow developers to make changes to the code with more ease and fewer bugs. But creating…