Hacker News new | past | comments | ask | show | jobs | submit login

> 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?



Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: