4 ms·
I thought kotlin's aporoach about in language dsl shines here. You still need to read code from somewhere else to know whether it is a variable/field/extension
by mmis1000 6y ago
I thought kotlin's aporoach about in language dsl shines here.
You still need to read code from somewhere else to know whether it is a variable/field/extension or something. But at least you know it is a 'value', so you can access prop on it or something. You probably don't know the context of a lamba. But you will always at least know it is a lambda, and you can/need return value from it. Important basic information didn't lose under the sugar syntax.
Compares to the groovy. That is literally a nightmare that I never find out what it is doing, am I calling a method or assign something to variable? I really don't know. And I end up gave up and copy build.gradle from someone else.