fbpx

Single Responsibility Principle

There are many ways of architecting software. There are many ways of organising code. When an architect (in this case Software engineer or programmer) decides to create a plugin, he/she must decide how they’re going to organise the logic of the code. In the Single...

Beautiful Code

I have been working on researching this very topic the last while. This is such a broad topic with many opinions from so many people. When joining different agencies, I have been given rules to follow every time. There have been times when I argued we should do...

Traits, tests and things I learned

Traits In the Merriam Webster, a trait is defined as: an inherited characteristic a distinguishing quality In programming languages that support it, for example PHP, Java, Rust, etc., a trait provides a set of methods that implements behaviour to a class, and require...