Design Patterns

Why Is Continuous Code Refactoring Important

0 comments

I’ll start off with this: Please refactor your code! Now that I got that off my chest, what exactly is refactoring? Def: “Code refactoring is the process of restructuring existing computer code—changing the factoring—without changing its external behaviour. Refactoring improves nonfunctional attributes of the software.” – wikipedia Now in layman’s terms. Refactoring is the ongoing [...]

Good Code Has A Single Responsibility

1 comment

Part of the SOLID principles of Object Oriented Design, the Single Responsibility rule – or more correctly called guideline – is there as a reminder to help guide all our coding endeavors, from the first line in the first method to all the subsequent modules and classes that will work effortlessly towards your end goal. [...]