13
RemyRm
2y

Came across this beauty in the codebase today. If only there was an easier way FOR this..

Comments
  • 1
    There is an easier way for this.

    remove the braces from the left hand side and put it at the right hand side :) <3
  • 1
    Am I blind or he is not using teamscore var?
  • 3
    @gitpush yeah it is not being used, and he added an int i that increments every loop in the body of the foreach aswel instead of just using a for loop straight up 🤦🏻‍♀️
  • 1
    @RemyRm oh God that's bad on so many levels 😅
Add Comment