How many times were you told “if it isn’t broken, don’t fix it”? Working isn’t necessarily optimal. You may find something to be working in a sub-optimal way. When this happens, fixing it should be a valid option. Very often, “if it isn’t broken” is said when “we’ve always done it this way” is intended.Continue reading “If It Isn’t Broken…”
Tag Archives: Coding
What Else?
As software developers, one tool at our disposal, in almost any language, is a switch expression. It comes in many forms: switch, case, when… They are all fundamentally the same. Given a value of an enumerated type, it defines the code behavior for each such possible value. In Clean Code, Uncle Bob suggests we makeContinue reading “What Else?”