Low-overhead wrappers using inline classes
Wrappers shouldn't slow down our programs. Let's have a look at how we can use inline classes to create type-safe lightweight wrappers.
December 1, 2019
Writing clean models using extensions
Logic inside model classes? This week we will see how to maintain visual boundaries between logic and data in model classes.
November 24, 2019
Maintaining crisp code with type aliases
Type aliasing is that small but nifty feature that will help you keep your code readable. Let's see how.
November 17, 2019
Type-safe time calculations using Duration
Dealing with time calculations can be a headache. Let's see how Kotlin's new Duration class makes it easy.