Why do folks still use for loops instead of neg while-- loops when iteration direction isn't an issue? Neg while is faster and less verbose.
@csuwldcat because it's gross looking, and the interpreter should optimize for loops
-
-
@seanmonstar @csuwldcat how do you want it to? that's a big change in execution order that would break a lot of programs -
@FremyCompany@seanmonstar precisely why I said "when iteration direction doesn't matter", I fully understand that it depends on the case ;) - 6 more replies
New conversation -
-
-
@seanmonstar I love the look of negative while loops - so fresh and so clean!Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.