Hacker News new | ask | show | jobs
by _pmf_ 4161 days 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?