83

Effective Kotlin: Consider inline modifier for higher-order functions

 6 years ago
source link: https://blog.kotlin-academy.com/effective-kotlin-consider-inline-modifier-for-higher-order-functions-758afcaffc11?gi=2be35120328b
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
You might have noticed that all collection processing functions are inline. Have you ever asked yourself why are they defined in this way? Here is, for example, simplified filter function from Kotlin…

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK