Hacker News new | ask | show | jobs
by tutuca 1755 days ago
I guess `quitRequested` falls in:

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

Per the article...

1 comments

Well his linter flags every occurrence, apparently. Because "that’s the fact of the matter, and you need to come to grips with it."
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.