| |
comp.lang.python |
On May 24, 1:59 am, Tim Roberts <t...@probo.com> wrote: > As a general rule, I've found code like "if x == False" to be a bad idea in
...
> happen to evaluate to a false value in a Boolean context, but they are not
> all the same.
> ANY language.
apparently because the ! operator is hard to see. But "if (x ==
TRUE)" is discouraged.