Dissecting the stdlib
This video is available in the GOTO Play video app! Download it to enjoy offline access to our conference videos while on the move.
One of the best places to learn idiomatic Kotlin is the stdlib. Now I don’t mean just using the stdlib but going to the source, literally. In this session, we’ll look at some of the methods and tools inside the stdlib and dig into how they’re written to reveal intermediate to advanced language features, slick syntax and conventions, and high-level abstractions to help you write more fluent objects and interfaces. We’ll also take a few glances at the underlying bytecode to understand how and why the features work the way they do.
Who should attend this talk: People that are familiar with Kotlin, beginner to intermediate, possibly advanced. While the examples are straightforward and could be beneficial to those without any Kotlin knowledge, some experience would be best.
Academic level: Intermediate
What is the take away in this talk: Many of the things that Kotlin developers enjoy in using Kotlin stdlib leverage language features and techniques that all developers can access and use. Writing more idiomatic Kotlin can come from just looking closely at the stdlib and taking it as an example to create one's own readable, maintainable code and utilities.