DEV Community

Discussion on: Ternary Unwrapping in Swift

Collapse
danielinoa profile image
Daniel Inoa Author

Ultimately, it's a matter of taste.
The ?? | operator, however, allows me express the same idea in the style of an operator (ternary conditional) that's already common in many programming languages.