[swift-evolution] Swift evolution proposal: introduce typeprivate access control level
2th at gmx.de
Thu Dec 1 03:31:06 CST 2016
> It also means that anybody who want to access your private var will just have to write an extension to expose it.
imho this is wrong thinking:
Access control is no tool to offer real "protection" — it can't stop someone who wants to break a system.
Especially in the world of open source, it is merely an advice from the author not to do certain things.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution