PLAY PODCASTS
Optionals Are Evil..?
Episode 61

Optionals Are Evil..?

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.

Inside iOS Dev · Alex Bush, Andrew Rohn

October 28, 201913m 33sExplicit

Audio is streamed directly from the publisher (dts.podtrac.com) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.

Show Notes

Topics

mobile developmentiosoptionalsswiftios developmentswiftlang