Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
kainosnoema
· 8y ago · 0 comments
Most Swift code is divided nicely up into modules, which are compiled together and have their own namespace.
https://developer.apple.com/library/content/documentation/Sw...
Comments
[–]
thefounder
8y ago
For some reasons most of the swift code I've seen doesn't use any namespace/prefix when it calls various functions from different "modules". It's used just like C "include"
[–]
plorkyeran
8y ago
You only have to qualify what module something is from if it would otherwise be ambiguous.