4 ms·
You're missing the point of 1. It's not simply "you can use globals", it's that you can rebind them in a thread-isolated way that stacks. Ruby blocks aren't re
by technomancy 16y ago
You're missing the point of 1. It's not simply "you can use globals", it's that you can rebind them in a thread-isolated way that stacks.
Ruby blocks aren't really first-class without getting converted into procs, and it's pretty un-idiomatic to pass these around like actual values. Even then they're not "first-class" as most calls happen via method calls rather than function invocation.