3 ms·
> And what's wrong with loops anyway? Millions of unnecessary instructions for what is often easily accomplished with a single assignment makes things slow and
by austincheney 8y ago
> And what's wrong with loops anyway?
Millions of unnecessary instructions for what is often easily accomplished with a single assignment makes things slow and increases complexity.
- tomc1985 8y agoAs does nearly any large library. The more abstraction you add the more complex things get. And "millions" is a bit of an overstatement, no?
- austincheney 8y agoNo, it isn’t. jQuery often breaks in IE, because instead of using a timer to determine long running code IE uses 5 million instruction count. Simple jQuery implementations would blow past 5 million instructions on load in a fraction of a second. I encountered this failure often when I used to work at Travelocity.