Welcome, everyone.
Today's lecture is about naming conventions of the variables, so you see me, me actually using first
name with the cattle case, right?
This is a very good story.
And you should do so, old person.
If you do old person, it will be old person like this with capital P..
I'm not going to just go through this lecture will be super short, but it's going to be very valuable
to you guys.
Now, all of these variables can start with so they can be defined.
They can start with letters, Dawla, or underscore.
So, for example, if you want, you can have a variable name, money like this and say 100 dollars,
it will work.
So if we bring out Konza like.
Sorry about that comes a of money, dollar money, it should give me the price of a hundred.
Very good.
It's a hundred dollars, but so you can start with the letter.
We can start with the money sign with the letter.
We already have done it.
So with the money sign and with underscore no last name.
You can do it like this.
And a Peter O'Collins.
Very good.
He and the end.
You know you can bring this out.
He is see underscore last name still work.
Without dollar sign, of course, and let's see here is Collins, very good.
Why do you have this alert, OK?
Yeah, I do have this alert and I'm just going to move it onto the top.
So this is one way of bringing out this one.
See, sometimes I forgot things.
I'm sorry about it.
And I have too many files and I don't know which file I'm looking at.
And that's why I'm doing this now.
But what we can do is we can say, OK, where one is equal to one or we can say one is equal to one
like this.
So it's not allowed.
But you can say, OK, underscore one is equal to one.
That's a different story.
But you can't say you can't start with the number that now you know the naming convention.
OK, so I'm just going to sit here
naming variables, naming convention.
So we can start with letter dollar sign or underscore, but he cannot.
With numbers or percentage or whatever you put it there, for example, for percentage, sorry, come
on, percentage and some is equal to something else like 500.
That is not.
So I'm just going to copy this one and I'm going to say not valid.
Valid naming convention.
So now that you know how to do the naming convention, we can continue something else and you should
stick to a Campbell case because most of us, we are sticking to Campbell case.
And if you go somewhere in a company, they will stick to this part, to the Campbell case.
So where their first name.
Last name.
So they are going to do it like this and it's better for you, but it's up to you how you can use it
in.
But make sure that, you know, that dollar sign underscore in the letter is acceptable.
Everything else it's not.
Thank you very much.
For now, just like that, maybe in future they will change in any of it does.
Even if it's changed.
Please drop a comment like subscribe whatever you want to do, because I depend on you guys here.
I depend on your trust.
I depend on your dedication to my channels, to my views, to my work.
So if you like my work, please read it.
And if you don't like my work ulcerated and what else if there is something new that you know that I
don't know, just drop a comment so I will be able to know when I will be able to create a lecture and
fix it.
Thank you very much.
I talk too much and see you in the next one.