Free Yourself from Conditions in JavaScript
Now I love an if() or a switch() as much as the next monkey, but in these days where we push JavaScript (and browsers) to their limits in the name of Web 2.0 perhaps there’s a better way to handle complex conditions. Maintaining big if() and switch() trees can be tricky and time consuming, and […]