Dennis Lambing
Featured Life Technology WordPress

Note to my 2020 Pandemic Self

Before I get too ahead of myself…

So, I’m working on a WordPress problem and run across an interesting problem that was difficult to fix. One of those situations where assumptions of the user are not the same as those of the programmer. A specific number was not entered, resulting in specific information NOT being displayed… which is different than what would have been displayed if the number were 0, 1 or any other number. In other words, something OTHER than null. The empty set.

Which leads to the following question:

What is the difference between 0 and null? The answer is actually, quite a lot.