← Back to context

Comment by pdpi

18 hours ago

The comparison with Ruby is spot on.

I always thought that DSLs were the one thing Ruby did better than the competition, but Kotlin's combination of receiver lambdas plus syntactic sugar for calling higher-order functions make it an even better language to write DSLs in.

That's exactly how i feel about it.

And the code I'm looking at now with Kotlin is so similar to code i liked reading when I was in a committed relationship with Ruby.