News for hackers. Stuff that matters.
Re:Working at Netflix by hueving on Wednesday January 21, 2015 @05:59PM (#8926385)
>If you really do want to test the falsey behavior, IMHO it's much, much clearer to branch on bool(the_maybe_falsey_thing) rather than just the_maybe_falsey_thing.

Maybe if you never program in python. Otherwise it makes absolutely no sense to do so because its obvious that every value is evaluated for its boolean value.

There are no comments on this comment yet.