[swift-evolution] [Review] SE-0025 Scoped Access Level
Andrey Tarantsov
andrey at tarantsov.com
Tue Mar 29 05:12:17 CDT 2016
> My understanding is that this comes about from a simple idea - someone wants to have objects which have some protection of their API from the outside world, and to limit the interface between those objects from exposing internal implementation details in order to maintain invariance.
No, this comes from the desire to document the specific members that are accessed by other scopes in the file.
I think it makes a significant difference when reading code.
A.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160329/151f37bc/attachment.html>
More information about the swift-evolution
mailing list