inline, noinline, crossinline — What do they mean?

Image for post
Image for post
image source: https://codete.com/blog/wp-content/uploads/2016/07/Yet-Another-Kotlin_.jpg

Inline

Add inline to higher order functions you want to improve the performance of.

Noinline

Crossinline

Software developer. Learning everyday.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store