[swift-evolution] Swift evolution proposal: introduce typeprivate access control level
Tino Heth
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...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20161201/e34d6686/attachment.html>
More information about the swift-evolution
mailing list