Re:My Weird Ruby
by baddox on Sunday March 08, 2015 @12:44AM
(#9164714)
What doesn't work well? The only thing I can think of, which comes up on occasion, is that you can't manually stop iteration in forEach without ugly tricks like throwing and catching an exception. I actually wanted that behavior for the first time recently, so I just used JQuery's each which lets you stop iteration by returning false. I'm assuming other JS utility libraries like underscore provide something similar.
[ Parent
| on HN ]
There are no comments on this comment yet.