2

tabs spaces oses languages what about using I instead of counter or index as a variable for for loop

Comments
  • 2
    if i have a big piece of code and i want to use that index multiple times, i do not declare it as "i", instead by a meaningful variable. Otherwise if it's a simple loop in a small function i use "i".
  • 0
    I for simple loops, more complex name it properly
Add Comment