I think I'm on to it, so for Kotlin constructors a...
# getting-started
r
I think I'm on to it, so for Kotlin constructors are for the caller, while if the class itself wants to do something I use init?
Copy code
class MyClass2(private val constructor_parameter: String) {
    private val initialized_by_class: String

    init {
        initialized_by_class = "asdasdasd"
    }
}