Re:Using Dispatch Tables to Avoid Conditionals in JavaScript
by Xcelerate on Monday May 13, 2013 @12:46PM
(#5699721)
"Dispatch table"? I'm surprised everything in programming has a name associated with it. I just called these Javascript objects representing a map of functions...
[ Parent
| on HN ]
Re:Using Dispatch Tables to Avoid Conditionals in JavaScript
by k3n on Monday May 13, 2013 @12:49PM
(#5699745)
lol yeah, in some languages they even call that a class!
Re:Using Dispatch Tables to Avoid Conditionals in JavaScript
by joezydeco on Monday May 13, 2013 @12:50PM
(#5699760)
30 years ago we called this a vector table on a microprocessor. What's old is new again...