kingsley
09/07/2016, 12:59 AMclass Pojo(val name: String)
as well as
class Pojo {
lateinit var name: String private set
}
The first approach quickly makes inheritance a headache.
The second case uses a lot of lateinit. Not yet decided whether that is a good or bad idea