Hacker News new | ask | show | jobs
by sureglymop 162 days ago
I prefer kotlins trailing lambdas, which do mostly the same. But the way they are written allows code to almost look like JSON/some declarative DSL.

But use is nicer to avoid callback hell and all the indentations/scoping.