Software development best practice: Writing clean code – Part 2

Writing clean code: factory pattern banner

In the first part of this series I wrote code for a very simple use case that violates some of the best practices for writing clean code.  In this second part, I’m going to rewrite the code using the Factory Pattern and we are going to look at why this code is much better. Keep […]

Software development best practice: Writing clean code – Part 1

I will not write anymore bad code banner

In this two-part series, I will show why it is important to write code that is easy to read and understand  easy to change  easy to test   These are some of the attributes of what is commonly known as Clean Code.  I will do this by writing code for a simple use case and then […]