Tag: functions

  • Anonymous and Higher Order Functions

    Anonymous and Higher Order Functions

    Discover the magic behind anonymous functions in Kotlin. Learn how to create them, use the “it” keyword, and simplify your code with implicit returns. Dive into the world of type inference, explore clever tricks like the underscore for unused variables, and grasp the concept of higher-order functions. Join me on this exciting journey of mastering…

  • Kotlin Functions

    Kotlin Functions

    Explore the essence of Kotlin functions in our concise blog! Learn about function headers and their components, master default argument assignment, and embrace the simplicity of single expression and unit functions. Discover the power of named function arguments and the expressive “Nothing” type. Elevate code organization with file level functions and unleash the hidden potential…