You’re right. I removed any mention of performance degradation in the rule description: Remove performance as a downside of forEach by vdiez · Pull Request #5851 · SonarSource/rspec · GitHub
victor.diez
(Victor Diez)
5
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Use `for…of` instead of `.forEach(…)` typescript:S7728, javascript:S7728 | 2 | 411 | November 13, 2025 | |
| S7728 FP Use "for...of" loops instead of "forEach" method calls | 5 | 1052 | October 16, 2025 | |
| S7728 FP Use “for…of” loops instead of “forEach” method calls when object is not an iterable type | 1 | 89 | October 30, 2025 | |
| typescript:S4138 should not apply to non-arrays | 2 | 924 | April 4, 2022 | |
| FP seeking for-of where Typescript prohibits it | 6 | 874 | September 15, 2022 |