In general, while doing code reviews, I have developed a strong notion of why the use of null (or nil, NULL, nullptr etc depending on your programming language) generally causes more problems than it solves. The fundamental problem of null is that it is trying to represent the fact that…