I think this is the first time I’ve ever seen a while loop in production Ruby: https://github.com/defunkt/resque/blob/master/lib/resque/failure.rb#L86 … https://github.com/defunkt/resque/blob/master/lib/resque/failure.rb#L74 …
-
-
@steveklabnik@merbist While loops like this are very useful for mutation during iteration, which is undefined with#each -
@evanphx@steveklabnik@merbist while loops are great if you need to loop indefinitely as opposed to just iterate ;)
End of conversation
New conversation -
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.