January 2017
Intermediate to advanced
420 pages
9h 25m
English
We came across the term data class in Chapter 3, Object Oriented Programming in Kotlin ; however, we didn't go into much detail of what it could bring to the table. This chapter will cover the process of annotating classes, which will allow you to have boilerplate-free code. We will dig deep to see what the compiler does for us behind the scenes when we use a data class. In this chapter, you will learn:
Data classes are intended for types that are meant to be data containers and nothing ...
Read now
Unlock full access