0

Why " abc" is not legal. identifier

29th Dec 2016, 6:41 AM
Salman Shaik
Salman Shaik - avatar
2 Respostas
+ 7
It is a legal identifier, but it's a poorly named one. abc doesn't mean anything, it doesn't tell you what it contains nor what to use it for.
29th Dec 2016, 7:42 AM
Tamra
Tamra - avatar
0
whenever you are naming variable it's good practice that you name the variable so that it make sense.abc is not give you any kind of hint that what was it's use or what it's purpose in the code.so naming the variable will allow you and other to understand the problem when you get caught in an error.when if you use abc you first need to find out what is abc actually.but that doesn't mean you can not use abc as identifier.
29th Dec 2016, 7:27 AM
Rajveer