Discussion: the fact this tutorial is done with x and not i is wrong! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

Discussion: the fact this tutorial is done with x and not i is wrong!

What do you think?

28th Aug 2016, 3:43 PM
Omri Yeshaya
Omri Yeshaya - avatar
5 Answers
+ 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.
28th Aug 2016, 8:47 PM
LaserHydra
LaserHydra - avatar
+ 2
Depends on the developer and up to you.
31st Aug 2016, 2:07 PM
LeParadoxHD | YouTube
LeParadoxHD | YouTube - avatar
+ 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.
31st Aug 2016, 5:10 AM
lapin16
+ 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.
15th Sep 2016, 3:32 AM
Michael Cardinal
Michael Cardinal - avatar
- 1
i and x won't be used in real world programming anyway! But I was thought with 'i' rather than x also
29th Aug 2016, 2:32 PM
Aaron Woods