ylliX - Online Advertising Network

Low-overhead wrappers using inline classes

Previously, we discussed how Kotlin’s type aliases could make our code more readable. However, if you remember, since type aliases don’t introduce new types, they don’t provide any type-safety. This week we will be exploring Kotlin’s experimental inline classes which have benefits that type aliases provide but go further than that. A little about inline […]