Not only is it easier to read, but I feel like whe...
# codingconventions
a
Not only is it easier to read, but I feel like when you’re writing Kotlin, you should do just that. Seeing Function1<R, T> makes me think that you’re trying to support some kind of compatibility layer. the second option feels so much more expressive, and if you’re used to reading type signatures, easy to read.
👍 1