[swift-evolution] Final by default for classes and methods
Tino Heth
2th at gmx.de
Mon Dec 21 14:03:49 CST 2015
> - 'private' and 'internal' methods are not exposed outside of a library, so you can't call them, much less override them. Similar for 'private' and 'internal' classes: you cannot subclass them.
really important point — and imho one of the best arguments not to make final the default:
It IS already the default (practically), so all points regarding own frameworks used by other parties become much less relevant.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20151221/c98bf206/attachment.html>
More information about the swift-evolution
mailing list