[swift-evolution] [Review] SE-0025 Scoped Access Level
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution