5 ms·
You can send messages to null, sendings messages to a deallocated pointer is going to be a bad time.
by Me1000 7mo ago
You can send messages to null, sendings messages to a deallocated pointer is going to be a bad time.
- e28eta 7mo agoIt’s nice not to crash, but unexpected null can still cause bugs in ObjC when the developer isn’t paying attention. Having done both ObjC with nonnull annotations, and Swift, I agree that it’d be hard to forgo the having first-class support for Optionals