Using Dispatch Tables to Avoid Conditionals in JavaScript
The fundamental change we made is transforming the conditionals into a data structure. And data is much easier to manipulate than conditionals.
— Joshua Clanton
There's a lot of code out there with...
Tumblr