Early returns from outer space (in Kotlin) by Alejandro Serrano Mena @DevoxxForever
Early returns from outer space (in Kotlin) by Alejandro Serrano Mena  @DevoxxForever
Uploaded April 2026 | Updated September 2026, 2 weeks ago
Please subscribe to our YouTube channel @ youtube.com/@DevoxxForever
Subscribe to LinkedIn @ linkedin.com/company/voxxed-days-amsterdam
Follow us on Twitter @ twitter.com/voxxedamsterdam

In most imperative languages, you can 'return' from any point in the body of the function. The same applies for 'break'ing and 'continue'ing a loop. But what if you could do so across functions? This is allowed in Kotlin with 'inline' functions!

In this talk we describe how the 'inline' function mechanism in Kotlin works. This means that we're no longer tied to a handful of language constructs for early returning: a 'forEach' function becomes indistinguishable from a 'for' loop. Several design patterns related to stopping early are no longer needed, leading to much simpler code to write and read.
Early returns from outer space (in Kotlin) by Alejandro Serrano MenaBacklog.md: The simplest project management tool for the AI Era by Alex GavrilescuAre We Ready For The Next Cyber Security Crisis Like Log4Shell? - Soroosh KhodamiSpec-Driven Development with AI Agents From High-Level Requirements to Working SW by Anton ArhipovJavaScript in 2026 by Christian WoerzKeeping data private in real-time pipelines by Olena KutsenkoDream Machines & Walled Gardens by Anders NoråsEmulating on the JVM by Remco SiemonsmaThe micro frontend game - a demo of cross-team scalability by  Martijn van IerselThe developers guide to making money in the open source galaxy by Ronald DehuysserBuilding AI Agents on the JVM by Anton ArhipovTeam and Software: Making an Impact as an Architect by Eberhard Wolff
Devoxx |

Early returns from outer space (in Kotlin) by Alejandro Serrano Mena

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER