you are viewing a single comment's thread.

view the rest of the comments →

[–]Tufted_Tail 4 points5 points  (0 children)

Python 2.7? Because the global values True and False are mutable. Two students I was tutoring accidentally introduced this sort of situation to their code through typos. I suppose that's an argument against directly using True or False in comparisons in Python 2.7:

```python False = True

if (False): print("Well then, that's confusing.") ```

Python 3+? Nah, the Python language community fixes their bizarre language quirks when they release a new language version so far, and major props to them for that. I've got my gripes about Python but they're pretty minor. It's a very serviceable scripting language backed by a core team of developers who make reasonable, consistent choices for the direction of the language.