[swift-evolution] [Review] SE-0117: Default classes to be non-subclassable publicly
Goffredo Marocchi
panajev at gmail.com
Sat Jul 9 03:48:06 CDT 2016
Sent from my iPhone
> On 8 Jul 2016, at 15:09, Károly Lőrentey via swift-evolution <swift-evolution at swift.org> wrote:
>
> Even in Java, it is a bad idea to leave classes subclassable; but having to remember to add final is a chore.
I still think it is worth doing that chore. The fact of the matter is that Java did not and is not enforcing that default and how many widely used production languages you know that do enforce this by default instead of asking library authors to do this bit of work?
More information about the swift-evolution
mailing list