filmov
tv
Swift Optionals - Is Force Unwrapping THAT Bad?
Показать описание
In this clip from Swift News, I showcase a Twitter thread that discusses the idea of "never ever force unwrap optionals". In my opinion, there are situations where a force unwrap has benefits, but to be clear... those situations are the exception to the rule and will be rare. If you are just learning Swift and a beginner, it's probably best to default to always unwrapping.
But the reason I wanted to share this was to get experienced developers to think a bit and get out of the blind, absolutist mentality of "never ever force unwrap".
If you like my teaching or presentation style, I've started creating my own courses:
Twitter:
Link to my book - How I Became an iOS Developer:
Book and learning recommendations that help out the channel if you decide to purchase (Affiliate Links):
Paul Hudson's Hacking With Swift:
Donny Wals - Combine:
Mark Moeyken’s SwiftUI Books:
Ray Wenderlich Books:
Links to my iOS Dev Setup & iOS Dev Book Recommendations
#swift #softwaredeveloper #iosdeveloper
But the reason I wanted to share this was to get experienced developers to think a bit and get out of the blind, absolutist mentality of "never ever force unwrap".
If you like my teaching or presentation style, I've started creating my own courses:
Twitter:
Link to my book - How I Became an iOS Developer:
Book and learning recommendations that help out the channel if you decide to purchase (Affiliate Links):
Paul Hudson's Hacking With Swift:
Donny Wals - Combine:
Mark Moeyken’s SwiftUI Books:
Ray Wenderlich Books:
Links to my iOS Dev Setup & iOS Dev Book Recommendations
#swift #softwaredeveloper #iosdeveloper
Swift Optionals - Is Force Unwrapping THAT Bad?
Swift Optionals - How to Unwrap (real examples)
Swift Optionals Tutorial - Unwrapping - Guard, If Let, Chaining, Force
Swift | Optionals - Safely force unwrap
How to use Optionals in Swift (a Brief Introduction to Force Unwrapping and Optional Binding)
Swift Basic: Tutorial 2, Swift Optionals and Force Unwrapping
Class 5: Swift Optionals and Forced Unwrapping
Learn Swift: Optionals force unwrapping (Chapter 2 Lesson 3)
Swift Tutorial: optionals, unwrapping, binding
Swift Optionals | Forced Unwrapping | Optional Chaining | Forced Binding | If Let
Force Unwrapping Optionals In Swift 4
Introduction to Swift Optionals
Swift | Optionals - Force unwrapping
Swift Tutorial - The Basics - Part 2 - Variables, Optionals and Forced Unwrapping -
How to safely unwrap optionals in Swift with if-let and guard statements | Bootcamp #47
Swift Optionals Explained
Dealing with Optionals in Swift
Introduction to Swift 8 - Optionals
Basics of Swift - Optionals, Forced Unwrapping, Optional Binding, etc |Part 4|XPERGE
Опционалы (Optionals) в Swift. Все методы извлечения | ! | ?? | Force unwrap | if let | guard let...
Swift Optional | Forced Unwrapped |
Swift Optional Binding Tutorial | if let | guard let | force | Swift Tutorial in Hindi
How to use Optionals in Swift | Swift Basics #6
Swift Fundamentals - Optionals, Nil, Optional Binding, Implicitly Unwrapped Optionals
Комментарии