Why would you forbid inheritance from classes per default? #Kotlin makes classes final as the default
4
1
Replying to @ewolff
@ewolff If it’s implementation inheritance, this seems to make a whole lot of sense

Mar 1, 2016 · 10:49 AM UTC

1
Replying to @stilkov
@stilkov have you seen significant problems in the real world with e.g. Java because of non-final classes?
2
@ewolff In the sense of people using inheritance when they shouldn’t have, yes.
2
3