3 ms·
Optimizing for grep is fair, however searching for whole words is typically possible in most contexts. I don't have a problem for grepping single letter variabl
by leni536 2y ago
Optimizing for grep is fair, however searching for whole words is typically possible in most contexts. I don't have a problem for grepping single letter variable names, although I admit that whole word or word boundary search is not as obvious and slightly less convenient than just plain substring search.
- chaboud 2y agoThat’s basically it. Using double-letter loop counters is a very simple courtesy that one can pay to other developers or oneself in the future.