Hacker News new | ask | show | jobs
by novok 2460 days ago
That's so rare in practice that you should just write it out fully. If it's happening frequently in your app, you should probably rethink your architecture. As time goes on, I've realized why people think asserts are code smells of their own.
1 comments

Do you not use implicitly unwrapped optionals for IBOutlets?
If you can prove it won’t be nil, normal IBOutlet included, fine.
That's about the only place for them to be acceptable, tbh.
We don't use storyboards or nibs.