News for hackers. Stuff that matters.
Re:Getting rid of NULL by diggan on Monday January 18, 2016 @04:14PM (#10927003)
I'm not sure that's necessary, it's not a PHP specific post. The author is just using PHP to demonstrate his point. Most, if not all object oriented languages should be able to replicate this functionality.
Re:Getting rid of NULL by lfowles on Monday January 18, 2016 @05:14PM (#10927409)
I had just read the C++ Hints post from last Friday ("Use nullptr instead of NULL from now on"[0]) and expecting that the link to go there.

[0]: http://cpphints.com/hints/44

Re:Getting rid of NULL by jcyw on Monday January 18, 2016 @04:22PM (#10927058)
I was expecting Java8 Optional...
Re:Getting rid of NULL by iamrohitbanga on Monday January 18, 2016 @04:38PM (#10927167)
Or Ruby 2.3's lonely operator (&.) or swift's optional chaining (?.)