Null references have historically been a bad idea, even Tony Hoare who invented null references call it The Billion Dollar Mistake. “I call it my billion-dollar mistake. It was the invention of the null reference in 1965. At that time, I was designing the first comprehensive type system for references…