t would be handy to introduce a new linter that detects while(TRUE) constructs and suggests adopting repeat for clearer infinite loop indication. In the same linter, a feature could be developed to identify while(FALSE) constructs, signaling unreachable code or potentially as an additional feature of the existing unreachable_code_linter.
t would be handy to introduce a new linter that detects
while(TRUE)constructs and suggests adoptingrepeatfor clearer infinite loop indication. In the same linter, a feature could be developed to identifywhile(FALSE)constructs, signaling unreachable code or potentially as an additional feature of the existingunreachable_code_linter.