MENU

Fun & Interesting

Kotlin Scope Functions for Expressiveness: let, run, with, apply

Rock the JVM 2,224 11 months ago
Video Not Working? Fix It Now

Complete Kotlin course: https://rockthejvm.com/p/kotlin-essentials In this video, we'll learn about Kotlin scope functions: let, run, with, apply. Kotlin scope functions are useful to increase mental clarity and flow for chained computations, especially when combined with other functional programming primitives. However, scope functions are not the most intuitive, especially when you come to Kotlin from a more mainstream language (e.g. Java), where this style of thinking is less popular. Follow Rock the JVM on: LinkedIn: https://linkedin.com/company/rockthejvm X: https://x.com/rockthejvm Blog: https://blog.rockthejvm.com ------------------------------------------------------------------------- Home: https://rockthejvm.com -------------------------------------------------------------------------

Comment