Interface Segregation Principle (explained in Go)The Interface Segregation Principle is the I in SOLID design principles. It states that types should not implement methods unrelated to their operations. In essence, interfaces should be designed so that the implementing types are not forced to imple...Jan 6, 2025·4 min read·29
Function Expression vs Declaration vs IIFEIntroduction Functions in JavaScript can be created in many different ways. But, these methods have different meanings and work differently. In this blog post, we'll attempt to understand the different ways functions can be defined include pros and c...Sep 3, 2020·4 min read·279
Single Responsibility FunctionsMany people understand the Single Responsibility Principle, but very few pay attention to how it affects whether function (and methods) should return something. In this blog post, I'm looking at a case for taking that principle to the "extreme" and l...Aug 28, 2020·2 min read·233
Stop Debugging Like a CavepersonDuring debugging, the single most important thing is knowing what value variables hold, this is what tells stories of change and points at culprits in your hair-pulling journey. In this post, I attempt to visit ways PHP developers tackle this debuggi...Jul 25, 2020·6 min read·184
Bitwise Operations, the basicsIntroduction Many developers don't bother with bitwise operators, mostly because people don't know them well enough. There is also the argument of where they fit in everyday programming, like web development. There is a high likelihood people will c...Jul 3, 2020·4 min read·362