News for hackers. Stuff that matters.
Re:When nil is not nil by andrewmcwatters on Monday October 10, 2022 @02:20PM (#33154740)
From what I've found maintaining https://github.com/Planimeter/game-engine-2d is that you should be explicitly checking for nil, separately from checking for false-evaluating values.

We found that this had the added benefit of semantically checking for something that did not exist, versus some contextual "false" value.

I suspect this is a good practice in other languages as well.

There are no comments on this comment yet.