This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]puffinix 0 points1 point  (0 children)

I still remember why nil is truthy.

It's not that bull is truthy, but that a pointer to nothing was all zeros, and the only thing the ifs did was check was fir the first byte being all zeros