iroegbu.comInterface 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
iroegbu.comThe Quality TrilemmaIntroduction The iron triangle is to project management what the CAP theorem is to distributed data stores—well, in a way. It is extremely difficult to change one without affecting the others. Before we proceed, here is a quick breakdown of what we a...Aug 8, 2024·3 min read
iroegbu.comHandling Errors in GolangErrors in golang are vastly different from errors in JavaScript. In this post, we will implement error handling for the events project we started building in the first post . That means, handling errors within the module itself as well as errors fr...Dec 29, 2021·3 min read
iroegbu.comLearning Go as a Node.js DeveloperIf you already know how to use a programming language, when learning a new language it is only natural to attempt to draw comparisons. This post is the first in a series, we'll attempt to learn Golang by re-implementing Events APIs in Go. What are th...Feb 20, 2021·8 min read
iroegbu.comUsing JavaScript generators to optimize APIsThis post is inspired by this wonderful post by Evelyn Stender. This post does not explain what a generator is or basic usage, Evelyn's post does a good job of that. Instead, in this post, we will demonstrate how generators can be useful for streamin...Jan 13, 2021·3 min read