Showing posts from 2017
Conducted a small survey on twitter regarding the inheritance related open decorator in the Kotlin language.  The comparison was between the design semantics offered via Java's final keyword and Kotlin's open keyword.

Here are the results.

In Java every class by default is inheritable until made final. In Kotlin every class by default is not inheritable until annotated with the keyword 'open'. If you were to create your own language which approach would you prefer— RajeshPatkar (@RajeshPatkar) November 14, 2017