News for hackers. Stuff that matters.
Re:The Zen of Python by Example by koenigdavidmj on Thursday February 10, 2011 @08:03PM (#2204684)
Most Python people are okay with relying on the behaviour of what is truthful and what is not. They would often prefer to see

    if foo:
        do_stuff()
over

    if len(foo) > 0:
        do_stuff()

There are no comments on this comment yet.