Skip to content
Optionals Are Evil..? episode artwork

Oct 28, 2019 13 min

Optionals Are Evil..?

from Inside iOS Dev Hosted by Alex Bush, Andrew Rohn

https://twitter.com/_ivancr/status/1180199237398626304?s=20 Need to prepare for an iOS Engineer Interview? https://iosinterviewguide.com Connect with us: https://twitter.com/insideiosdev Email us at [email protected]

Episode details come from the podcast's RSS feed.

Embed this episode

When and where should optionals be used? What are the advantages and disadvantages of optionals? Before Swift, iOS developers wrote their apps using Objective-C. In Objective-C, programmers could send messages to nil without the program crashing and in some cases was considered a feature. However, sometimes objects were unexpectedly nil and the program would incorrectly execute. Today, Swift uses optionals to more explicitly handle the case when an object is nil.

Ready to play

Optionals Are Evil..?

0:00 13:33

No transcript yet.

Requests help us decide what to transcribe next.

Frequently asked questions

How long is this episode of Inside iOS Dev?

This episode is 13 minutes long.

When was this Inside iOS Dev episode published?

This episode was published on October 28, 2019.

Can I download this Inside iOS Dev episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.