https://kotlinlang.org logo
#compose
Title
# compose
a

Adam Powell

05/21/2019, 12:50 PM
Setting aside the performance question entirely, the decision to use unit functions like this is also a win for the API shape itself. If you call something, it's part of the composition. You can use normal looping and control flow constructs without requiring people to use functional map/filter/etc. as the only option
👎 1
k

kioba

05/23/2019, 6:37 PM
map and filter are normal loops
👍 1
l

louiscad

05/23/2019, 7:55 PM
It doesn't seem normal language constructs are restricted here.
m

miha-x64

05/23/2019, 7:57 PM
I'm sorry, this was stupid.
2 Views