The Startup
Published in

The Startup

We Need to Stop Using null: Here’s Why

Photo by Ben Hershey on Unsplash

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 it is not a value while being assigned as a value. This fundamental flaw then snowballs and manifests into…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Arindam Roy

Arindam Roy

669 Followers

Product @hyperverge. I write about a lot of things, mostly tech.