News for hackers. Stuff that matters.
Re:JDK 8 Release Notes by RyanZAG on Wednesday March 19, 2014 @04:19AM (#7427322)
> not as safe as the Objective-C approach where one can just send messages to nil[0] which is really awesome imo.

It's definitely NOT awesome. This stupid behaviour causes bugs all the time as you think you're doing an action but it's actually a no-op because something else failed and you get a nil. An NPE is awesome - it crashes immediately and you know exactly what is wrong. A silent no-op is the worst thing to debug.

There are no comments on this comment yet.