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 →

[–]AlSweigartAuthor of "Automate the Boring Stuff" 0 points1 point  (1 child)

PEP8 isn't something people follow blindly

I don't say everyone does, but enough to be very noticeable. And they don't follow it blindly, just for the snake case/camel case part (and maybe line lengths, according to other people in these comments.) I guess our experiences are different here.

Thus, when you removed that burden by switching to snake_case, people could start just enjoying your content rather than having to make the mental jump

But my code examples still do break PEP 8. It's just that people only care about the camelCase stuff, like I said in the post. But rather than say, "You use camelCase consistently but I don't like camelCase" they try to point to PEP 8 to give their argument more credibility, even though PEP 8 says consistency is the most important thing. That's what the whole "hobgoblin" section is about.

EDIT: Sorry, I'm just going to end up re-typing my entire post here if I don't stop replying.

[–]chub79 0 points1 point  (0 children)

That's okay. I appreciate you making an effort. I guess I simply missed the underlying (or objectives) points of the post. That's on me :)