And we can imagine use cases where we would want to parametrize the fold function argument, let’s say, for calculating the product of unread messages.
How Kotlin became our primary language for Android
Dima Kovalenko
41015

Wondering why are you just not using .count() function here ?

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.