Unconditional code is code that just works, without errors or exceptions, without funny edge cases represented with tedious IF statements. In this article I will share how this can be applied to situations in Golang where you need to map incoming protobuf messages to internal or external (i.e. outgoing) structures.
Continue reading “Unconditional Code for Mapping of Protobuf in Golang”Decision Hiding – Make Complex Simple Again
Have you ever had your head explode while trying to trace the execution of a use case through a complex codebase? Well, I certainly have. Sometimes the code I am trying to decipher is my own, marking the process not only painful, but shameful as well.
In this article, I will explore the concept of complexity and how to tackle it using decision hiding (aka information hiding).
Continue reading “Decision Hiding – Make Complex Simple Again”