4 ms·
How are callbacks handled in this library? I prefer js anonymous functions to Procs & lambdas in Ruby.
by pzaich 14y ago
How are callbacks handled in this library? I prefer js anonymous functions to Procs & lambdas in Ruby.
- bstar77 14y agoI do as we'll. After working in node for a bit I have come to appreciate how nice the call backs work, but I hate the fact I have to use them every where. Plus ruby has a few ways to implement callbacks which can be confusing.
- gmac 14y agoYes, as someone who really likes Ruby, this is probably my least favourite thing about it — the messy profusion of subtly-different functiony things (Procs, blocks, methods, ...).