| ▲ | mrbombastic 12 hours 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 9 hours ago | parent [-] | |
there has been some talk ofmusing macros ro validate at runtime; personally i'd love it if that got in officially. | ||