Server-side Swift has been an exciting prospect ever since Apple officially released an open source Linux-compatible version. My curiosity finally got the better of me, and it was time to give it a try.
Eight pages in to Apple’s new Swift language book, there’s a passing mention of “optional” values, and how these values can be nil. What you might have missed is that this also means that non-optional types can never be nil. Coming from Objective-C or even Java or C#, this may seem surprising (it was for me):