3 ms·
Can't wait for the next code review. "You seem to be using ifs and fors very much. These should be abstracted into a function."
by anilakar 4y ago
Can't wait for the next code review.
"You seem to be using ifs and fors very much. These should be abstracted into a function."
- ColonelPhantom 4y agoYou missed the point; an if or for is a single token. The problem is with predictable token sequences, and if you write the same for loop (or extremely similar ones) in multiple places then yes, it should be turned into a function.