Hacker News new | ask | show | jobs
by hiddew 1115 days ago
> Ruby syntax is the lightest there could be

Kotlin can have exactly the same code with lambdas, using either a receiver type, or a context receiver. And it's type safe.

    transaction {
      foo()
      bar()
    }
Type-safe DSLs become a pleasure to build and use.