Uses for-loops

>Uses for-loops

Attached: 8d6.jpg (645x729, 81K)

Faster than foreach

I hope you're not in charge of any serious projects. That would be terrible.

maybe for now. v8 has been shaking up their code generator and optimizations lately with stuff like turbofan. most of the slowness in foreach proto vs c-style for is allocation of closures and other small details.

>posts meatwads
Who's retarded here

>his code is a bunch of ifs

Name something that's both more capable and more convenient.

>not using ifs for everything

They dont pay me enough to think

iterators

It's like you intentionally picked something that's neither more capable nor more convenient. Good laugh.