One of the selling points of the Single Page Application (SPA) was offloading work traditionally performed on the server onto the client. I feel the SPA has delivered on this promise. However, it’s not all roses. It’s easy to get overzealous and push too much work to the client. We often forget that we can’t…
Month: December 2015
Examining the Case for Switch Statements
For nearly 50 years, the switch statement (also known as the case statement) has been an integral part of programming. In recent years, however, some are claiming that the switch statement has outlived its usefulness. Others go even further by labeling the switch statement as a code-smell. In 1952, Stephen Kleene conceived the switch statement…