Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
minfduck
· 8y ago · 0 comments
No it doesn't. This article is specifically about how you can use the Swift type system to prevent that from happening. You get a compile time guarantee that the result will either be data or error.
Comments
[–]
m3kw9
8y ago
The server can a aboulutly send you data and error as nil, either by error or on purpose. Someone is gonna handle that.