3 ms·
Not OP, There is none as far as I can tell but still force unwrapping that way is something people try to avoid in Swift and often times have the linter warn ab
by mrbombastic 9mo ago
Not OP, There is none as far as I can tell but still force unwrapping that way is something people try to avoid in Swift and often times have the linter warn about. Reason being people will copy the pattern elsewhere and make the assumption something is safe, ultimately be wrong and crash your app. It is admittedly an opinionated choice though.
- andrekandre 9mo agothere has been some talk ofmusing macros ro validate at runtime; personally i'd love it if that got in officially. [0] https://forums.swift.org/t/url-macro/63772 https://forums.swift.org/t/url-macro/63772