Avoiding Herd Mentality by Asking “Why?”

My two-year-old daughter is in a phase of her development where she questions everything she  doesn’t understand. She throws questions at us faster than a 90mph curve ball. I’ll admit there are times where the incessant “why is this blue?” and “why did you open the bottle?” become hard to tolerate but this is an…

Eliminating If-else statements using a rule engine

Nearly every developer at some time in their career has run into the dreaded long chain of if-else statements. The chain of conditional statements makes code difficult to read and debug. While working on a recent project, I discovered a new way to clean things up. I’ll first take you through the old approach with…

Breaking down Interfaces

I often hear heated debates between developers about the usage of interfaces. Unfortunately, many of these debates are skewed toward the personal preferences of developers who fail to understand what an interface is and what it does. So let me use a couple of minutes to break it down for you….. Take a Digital Video…