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

Stephen Celis stephen.celis at gmail.com
Mon Dec 7 10:52:00 CST 2015


If you group these methods in a `private extension`, they'll be private by
default, which seems to be a nice alternative to me.

Stephen

On Mon, Dec 7, 2015 at 11:49 AM, Amir Michail <a.michail at me.com> wrote:

>
> On Dec 7, 2015, at 11:46 AM, Stephen Celis <stephen.celis at gmail.com>
> wrote:
>
> Have your read
> https://github.com/apple/swift/blob/master/docs/AccessControl.rst?
>
> I prefer the current rationale behind "internal" by default.
>
> Stephen
>
>
> I must admit that I make as many things private as possible so that I can
> have the faster incremental compiles.
>
>
> On Mon, Dec 7, 2015 at 11: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
>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20151207/10907749/attachment.html>


More information about the swift-evolution mailing list