Variables names | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Variables names

my_variable in example - not very well. Its good to use myVariable.

13th Aug 2018, 4:08 AM
Toxa Boiko
Toxa Boiko - avatar
3 Answers
+ 4
It depends on the convention you are using. There are languages whose conventions recommend the use of a predetermined naming style.
13th Aug 2018, 4:28 AM
Mickel - avatar
+ 1
yes u can use any of these 2 as per ur ease
13th Aug 2018, 4:25 AM
Neelam Singh
Neelam Singh - avatar
I talk about JavaScript. As i know, recommended to use style as i write at first post of conversation. Yes?
14th Aug 2018, 8:18 AM
Toxa Boiko
Toxa Boiko - avatar