3 ms·
"Normally" is the operative word. I've seen output from compilers to JavaScript that convert huge switches into if cascades which are in fact quite deep: think
by bzbarsky 11y ago
"Normally" is the operative word.
I've seen output from compilers to JavaScript that convert huge switches into if cascades which are in fact quite deep: think tens to hundreds of thousands of cases converted to an if cascade.
Or put another way, not all programs are written by programmers.