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

Stephen Celis stephen.celis at gmail.com
Mon Dec 7 12:15:59 CST 2015


I'd be interested in a proposal around classes/methods being final by
default. Not sure where things would end up with "friendliness", though.

Stephen

On Mon, Dec 7, 2015 at 1:11 PM, Javier Soto via swift-evolution <
swift-evolution at swift.org> wrote:

> +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
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20151207/15e019f4/attachment.html>


More information about the swift-evolution mailing list