14
Comments
  • 0
    why's that bad?
  • 3
    @zlice I guess it is more clear to have an index called i, than x. At least when it is not a 2D loop or something. However, x is not too bad of a name, anyway, although the best would be to name it even better than i or x...
  • 1
    @aritzh oooo ya, if it's in a loop with coords then that would suk
  • 1
    Invective! Verb your expletive nouns!

    http://thecodelesscode.com/case/34/
  • 2
    Actually, the i-n thing is cause of FORTRAN (I-N in FORTRAN are integers; all other chars are floating point), and the standard of maths. It's not a bad habit at all in any newer language, and you're fine as is
Add Comment