Hacker News new | ask | show | jobs
by IshKebab 179 days ago
No, truthiness (implicit bool coercion) is another thing you should avoid. This will do weird things if data is a string or a list or whatever.