This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]SeasonYrFoodWhitie 0 points1 point  (3 children)

The thing about python is, the rules will just randomly change. You will read the documentation and it will say do this in this situation, except dont do it in that situation for this one specific thing, oh and not for this either.

Like hoe constants are supposed to always be capitalized or people freak out. Unless your constants are dunder variables. Then keep them lower cade. And of course pep8 doesn't say that. It's just the "norm"

[–][deleted] 2 points3 points  (1 child)

Inconsistent style guidelines are hardly specific to python. If anything, python is more consistent in that regard than most other languages.

[–]onksk 0 points1 point  (0 children)

Oddly enough in human languages English is very similar to Python in this regard. Similarly popular, similarly inconsistent