Hello, in this video, I am going to discuss the variable name. So this is a variable for one equals nine. And to reload it, we don't get anything and Kalani to do something. Let me print it out, Echo it out. Do that there we go. So that is the name of the variable.
So there are a few rules they have to follow. So variable names have to begin with a letter or an underscore. So if you don't do well on a Purdue underscore vol one and then everywhere they will refer to I have to update that that's fine. We cannot begin with is a number it goes not like that. He will give you an error. And this is pretty universal in most programming languages, these naming conventions or you can have a number in between it you know somewhere inside of the variable name but not to start any kind of European waffle.
It is a novel naming convention. is the variable name. You can have letters, you know like v ay ay ay ay. and you can be uppercase lowercase, you can have numbers at longer numbers, and I've stopped, you know, underscores, but you cannot have special symbols, like, more use symbols like you know, plus, you know, curly braces, your minus ampersand, etc. So these ones do not use because you are not allowed to do something to bear in mind, and I'm trying to think, is there anything else? Oh, yeah.
The other thing is there are a few predefined variables that are built in, do not use these, some of these that you use will give you an error. Some will not it's good practice that you just do not touch them. The other thing is there are certain other sort of things that you can use like I'm going to cover later on. This code dollar this, this bait like this, this refers to essentially, you know, properties of a particular object or class that you are currently referring to, again, in the classes part of the series, you're learn about that. And this is reserved, so you can use this particular keyword Eva. So apart from that, you can name it whatever you want.
There's no size limit for the variable. So they can be as long as you want in terms of the name or as short as you want. You should always try and get a you know, a mixture between having the variable name descriptive of war, it's, you know, story, but not too long date, hard to copy out, and he just basically become the sentence. So you want to try and get that balance. But more you code, the more you know, you'll figure out what that balance is. So that's it.
Any questions, feel free to pop me a message and as usual, I look forward to seeing you in the next video.