[swift-evolution] SE-0025: Scoped Access Level, next steps

Paul Ossenbruggen possen at gmail.com
Mon Mar 28 22:37:02 CDT 2016


I like this, it has been suggested already, single words for easy reading (just looks nicer). follows precedent in other languages for existing words, new words for new concepts. Internal gets demoted from current swift but since that was a swift concept we have more control. 

public - outside module
external - external to file - default - need to look up first time they see it, but once learned, won’t forget.
internal - file internal - people need to look it up first time they see it, but once learned, won’t forget. 
private - private to class. 




More information about the swift-evolution mailing list