Don’t combine object configuration with object movements | by means of André Mion | Dec, 2023

For the ones no longer acquainted with Kotlin, the initializer block is used to: …run some code right through object introduction… For instance, if I need to print to the console each time a brand new object is instantiated, I will have to do one thing like this: elegance MyAwesomeClass {init {println(“There’s a new example […]

Don’t combine object configuration with object movements | by means of André Mion | Dec, 2023 Read More »