Michael Long
1 min readDec 26, 2019

--

Just that given where we are in Swift 5.1 the idea that people are still force unwrapping optionals and not doing guards is a bit of a stretch.

They’re definitely bad code smells and would be called out in any code review I ran.

If they’re not, I’d strongly suggest that your team install SwiftLint into your project and make it part of the build process. Cleaning questionable code and enforcing coding standards is a must in modern Swift software development.

--

--

Michael Long
Michael Long

Written by Michael Long

I write about Apple, Swift, and SwiftUI in particular, and technology in general. I'm also a Lead iOS Engineer at InRhythm, a modern digital consulting firm.

Responses (1)