Worst aspect of Python for a newbie
Posted
by schickb
on Stack Overflow
See other posts from Stack Overflow
or by schickb
Published on 2009-01-17T08:21:04Z
Indexed on
2010/04/14
21:13 UTC
Read the original article
Hit count: 160
I'm wondering specifically what experienced programmers thought when they started developing in Python. I'm sure the answer depends on your background, but my own personal answer is the conversion of basically anything in the language to a True/False value in boolean contexts.
Resulting in "oddities" like:
if x:
not meaning the same thing as:
if x == True:
I understand why, but it bugs me, and I certainly had to think about it a bit when I first ran into it.
© Stack Overflow or respective owner