
On Tue, Aug 31, 2021 at 11:15:22AM -0700, Nick Parlante wrote:
As a practical matter, the IDEs just default to having PEP8 checking on, and they do it in a very visual way - akin to a text editor which puts little squiggles under words it thinks are misspelled.
This maybe sounds annoying, but looking at how people learn to code, it's actually fantastic, and a giant success for the goals of PEP8.
You have convinced me that having IDEs run linters by default is a great advantage to both educators and students. But I'd like to point out that, good as it may be, it is not a success for the goals of PEP-8 because PEP-8 isn't about teaching newbies to code. It's more of an unexpected bonus. We're unlikely to change PEP-8 to recommend equality checks with None. For non-student experienced Python programmers, `is None` is the correct way to check for None. I suggest you approach the people who write IDEs are make a stong case for "education mode" where `== None` checks are disabled. If there are IDEs that sell to the education market, they may jump on board the idea. -- Steve