[swift-evolution] Make access control private by default.

Javier Soto javier.api at gmail.com
Mon Dec 7 12:11:05 CST 2015


+1 to this from the point of view of correctness. But it's important to
realize the drawback in the language "friendliness".
Other defaults that I think could be reconsidered along these lines: final
by default for classes and final by default for methods.

On Mon, Dec 7, 2015 at 8:35 AM Amir Michail via swift-evolution <
swift-evolution at swift.org> wrote:

> Not only will this reduce bugs but it will also speed up compile times.
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution
>
-- 
Javier Soto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20151207/1797015a/attachment.html>


More information about the swift-evolution mailing list