3 ms·
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 l
by pdpi 5mo 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.
- flossly 5mo agoThat'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.