Python: 0 == nil -> false

As you can see nil is a special type in python and not equal 0 to indicate that an object is invalid. And maybe in many other script languages too, because it's a handy feature.

NULL is just an old C-Lang thing. I use always 0 in my code.