> 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.

_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to