this space intentionally left blank
Archive for 3 October, 2008
The Switch Case
Oct 3rd
While working on some code recently, I noticed a preponderance — neigh, an outright overabundance — of swith/case logic blocks to control content. What’s worse is that the input variable to the switch block happened to be the value of a specific hash key, which got me to thinking — what is the purpose of a switch/case block, after all?