Get the latest tech news

The dark secret of Swift optionals


They aren't what you think.

You command-click the optional — you stay in Wonderland and I show you how deep the rabbit hole goes. syntax gives a stronger kick at a much lower dose than Optional<String>. The Swift Compiler metabolises it into the same end product: Getting high on type-safe nullability.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Swift optionals

Swift optionals

Photo of dark secret

dark secret