Ahmed Elkrrai·Oct 17Inline Functions: Why return Inside forEach Exits the FunctionUnderstanding Kotlin inline functions, non-local returns, and what the compiler actually does.
Ahmed Elkrrai·Oct 8fun interface and SAM Conversion: When a Lambda Becomes an InterfaceYou have probably written this line a lot:
Ahmed Elkrrai·Oct 2Lambda, Callback, Closure: Three Words, Three Different IdeasThree Words, One Pile of Confusion
Ahmed Elkrrai·Sep 26Function Types — When a Function Becomes a ValueIn the previous two articles, we looked at functions from two different angles.
Ahmed Elkrrai·Sep 21Extension Functions: When a Function Looks Like a MemberKotlin lets us write something that looks deceptively simple:
Ahmed Elkrrai·Sep 14Before Objects, There Were Functions: What a Function Call Actually DoesLong before objects, before class, before anyone argued about MVVM vs. MVI, programming was organized around a much simpler idea: the…
Ahmed Elkrrai·Sep 5Delegation in Practice: The by You Already Write Every DayThe previous article in this series, “Delegated Properties: When the Property Doesn’t Own Its Value,” went underneath the by keyword…