How variable names can contain only letters, numbers and underscores although variable can't start with numbers??? | Sololearn: Learn to code for FREE!
- 1

How variable names can contain only letters, numbers and underscores although variable can't start with numbers???

4th Mar 2020, 10:35 AM
Laksh Deshpande
Laksh Deshpande - avatar
2 odpowiedzi
+ 2
It's a design choice.
4th Mar 2020, 10:42 AM
Avinesh
Avinesh - avatar
+ 1
...and the fact that you can name your variable literally any number you want if it can start with numbers int 12 = 12; which isn't great...
4th Mar 2020, 11:25 AM
かんでん
かんでん - avatar