Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
diggan
· 10y ago · 0 comments
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.
Comments
[–]
lfowles
10y ago
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
[–]
jcyw
10y ago
I was expecting Java8 Optional...
[–]
iamrohitbanga
10y ago
Or Ruby 2.3's lonely operator (&.) or swift's optional chaining (?.)