On Fri, Feb 22, 2013 at 10:34 AM,  <piterrr.dolin...@gmail.com> wrote:
> Thanks for this. Regarding ambiguity, you will never find me write ambiguous 
> code. I don't sabotage my own work. But the reality is that in addition to 
> writing my own code, I have to maintain existing. I find it incredibly 
> confusing then I see a statement along the lines of "if not something" - have 
> to study the code in detail to see what it is testing.

It's testing something - specifically, whether or not the object wants
to "feel true" or "feel false". It's up to the object to define what
that means.

Most of the time, it's exactly what you want. When it isn't, you can
put an exact comparison.

ChrisA
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to