News for hackers. Stuff that matters.
Re:1-star reviews of 'Extreme Programming' by cma on Thursday December 19, 2013 @03:09PM (#6937467)
In python some things evaluate as false in an if or boolean conversion (0, an empty list/tuple/set/dict/user_defined, an empty string "", and more). None evaluates as false as well, but is still distinguishable from the rest.

In ruby you likewise sometimes need to use object.nil? because nil and False are both "false-ish".

There are no comments on this comment yet.