- 2
Discussion: the fact this tutorial is done with x and not i is wrong!
What do you think?
5 Réponses
+ 2
I really think variable naming is up to the developer and there might be common ways to do but in the end, its the developers decision.
+ 2
Depends on the developer and up to you.
+ 1
as soon as you work with coordinates your opinion would be right, as it would confusing. otherwise x would be a standard one-letter variable, and would not be poor coding.
+ 1
it doesn't matter what letter or word you use to identify the variable, in machine language it's replaced by a cpu register or a memory location identified by numbers only.
- 1
i and x won't be used in real world programming anyway! But I was thought with 'i' rather than x also