1 min readAug 24, 2020
Thanks for reading part of my document.
The Kotlin class function is default public since on Sep 16, 2015. as per the section “Why the default is public” in https://discuss.kotlinlang.org/t/kotlins-default-visibility-should-be-internal/1400
Anyway, you might have misunderstood my intent of #2. It is just stated if a default state is given, the developer shouldn’t need to state it again. It is just like if a variable is non-static, we don’t need to declare non-static variable
,or non-final variable
, if they are default. Hope this clarifies.