Why every class in kotlin by default "final"?
# announcements
b
Why every class in kotlin by default "final"?
f
Effective Java Item 17: Design and document for inheritance or else prohibit it.
9
only open when it really needed 😉
s
You could ask yourself: Why every class in java by default “open”? (The answer is, as Feng Dai pointed out, that Kotlin picks the safer option as a default.)
💯 3
m
☝️ yeah