Nulls are Evil

Jay Barden
Sep 9, 2020 · 7 min read

..and so are exceptions!

Photo by Martino Pietropoli

Now that I have piqued your interest, it falls to me to explain why I feel that way — especially as there’s a 50:50 chance that you disagree, perhaps even strongly. One thing that I am sure we can agree on is, in programming, there is no avoiding Nulls or exceptions; things go wrong, servers may be down, data may simply not exist, the list of reasons for either nulls or exceptions is about as long as you want to…