2 ms·
> but I'd also like to see blocks in Groovy Groovy allows passing a closure to a method with signature (where p3 is a callable) a(p1, p2, p3) as a(some_
by _pmf_ 12y ago
> but I'd also like to see blocks in Groovy
Groovy allows passing a closure to a method with signature (where p3 is a callable)
a(p1, p2, p3)
as
a(some_val, some_val){ closure content }
Are Ruby's blocks more powerful?