HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by earenndil | Hacker News Reader
Parent
Full thread
earenndil
·
why not add an operator so you can say (x !is null)?
View on HN
gregoryl
·
Largely because (x is null) is a silly workaround to an uncommon and easily avoided problem (bad operator overloading).
Reply on news.ycombinator.com