News for hackers. Stuff that matters.
Re:New Ways to Be Told That Your Python Code Is Bad by tutuca on Friday September 03, 2021 @01:37AM (#28400750)
I guess `quitRequested` falls in:

> anything that runs for as long as the user says it should run;

Per the article...

Re:New Ways to Be Told That Your Python Code Is Bad by QuadrupleA on Friday September 03, 2021 @01:42AM (#28400781)
Well his linter flags every occurrence, apparently. Because "that’s the fact of the matter, and you need to come to grips with it."
Re:New Ways to Be Told That Your Python Code Is Bad by detaro on Friday September 03, 2021 @01:47AM (#28400816)
If you enable it. And if you really care about avoiding while-loops, you can still silence it for the ones you really want to have (e.e. main loops like your example, as also mentioned in the article).

Probably not for me though.