Re:A Year’s Worth of Opinions about Objective-C
by drewcrawford on Saturday December 14, 2013 @12:20PM
(#6906250)
In C/C++, dereferencing the null pointer is undefined. That is a hell of a lot more dangerous than doing nothing. ObjC's "defined to do nothing" behavior is a significant step up from the other languages in the "fast, compiled, bare metal" cluster (C,C++).
[ Parent
| on HN ]
Re:A Year’s Worth of Opinions about Objective-C
by Iftheshoefits on Saturday December 14, 2013 @02:43PM
(#6906808)
It's rather subjective to say that's a "significant step up". "Dereferencing a null" indicates a potentially serious underlying issue that the "do nothing" hand-holding you describe masks.