Re:Using Dispatch Tables to Avoid Conditionals in JavaScript
by serbrech on Monday May 13, 2013 @10:33AM
(#5698849)
I don't see the benefit.
it really is just a disguised switch statement,
unless you do something more dynamic with the mapping between the command name and the function to call...
[ Parent
| on HN ]
There are no comments on this comment yet.