Skip to content

Comment on The Groovy project is looking for a new homeparent

Comments

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?
AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.