I'm not even sure what you're talking about. Is this a JavaScript complaint and they were meant to use a for..of? Are you an FP purist and think they were supposed to use map/filter?
This sounds like you have some very specific trauma around a very specific "foreach if loop", because I would personally never throw around such a specific-but-not-specific example of tech debt. Tech debt is extremely contextual.
This sounds like you have some very specific trauma around a very specific "foreach if loop", because I would personally never throw around such a specific-but-not-specific example of tech debt. Tech debt is extremely contextual.