Open gbotka opened 2 months ago
Describe the feature https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/let.html https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/also.html https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/run.html
These generated functions reduce boilerplate and allow function references for mutation.
var something = new Something(); return z(y(x(something)));
var something = new Something(); return something .apply(this::x) .apply(this::y) .let(this::z);
Describe the target audience Everybody who likes to use function references and likes more readable code.
Describe the feature https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/let.html https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/also.html https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/run.html
These generated functions reduce boilerplate and allow function references for mutation.
Describe the target audience Everybody who likes to use function references and likes more readable code.