Hacker News new | past | comments | ask | show | jobs | submit login

Two problems I see:

1. ! used here is hard to spot, it's just few pixels of difference from ?.

2. assertionFailure is not the same as force unwrap, because it crashes only in debug mode. Ideally you would log it with some analytics so developers know if problem occured, but doing nothing is usually better than crashing the app.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: