13
RemyRm
4d

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
  • 2
    Am I blind or he is not using teamscore var?
  • 4
    @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 😅
Your Job Suck?
Get a Better Job
Add Comment