1 00:00:01,440 --> 00:00:02,220 Welcome, everyone. 2 00:00:02,260 --> 00:00:11,190 Today's lecture is about naming conventions of the variables, so you see me, me actually using first 3 00:00:11,190 --> 00:00:13,530 name with the cattle case, right? 4 00:00:13,650 --> 00:00:14,910 This is a very good story. 5 00:00:14,910 --> 00:00:17,940 And you should do so, old person. 6 00:00:17,940 --> 00:00:21,630 If you do old person, it will be old person like this with capital P.. 7 00:00:22,350 --> 00:00:28,200 I'm not going to just go through this lecture will be super short, but it's going to be very valuable 8 00:00:28,200 --> 00:00:29,070 to you guys. 9 00:00:29,220 --> 00:00:38,820 Now, all of these variables can start with so they can be defined. 10 00:00:40,500 --> 00:00:44,650 They can start with letters, Dawla, or underscore. 11 00:00:45,240 --> 00:00:54,420 So, for example, if you want, you can have a variable name, money like this and say 100 dollars, 12 00:00:55,500 --> 00:00:56,340 it will work. 13 00:00:56,520 --> 00:00:59,880 So if we bring out Konza like. 14 00:01:04,760 --> 00:01:11,550 Sorry about that comes a of money, dollar money, it should give me the price of a hundred. 15 00:01:12,470 --> 00:01:13,070 Very good. 16 00:01:13,280 --> 00:01:18,930 It's a hundred dollars, but so you can start with the letter. 17 00:01:18,980 --> 00:01:21,910 We can start with the money sign with the letter. 18 00:01:21,920 --> 00:01:23,020 We already have done it. 19 00:01:23,750 --> 00:01:31,850 So with the money sign and with underscore no last name. 20 00:01:32,870 --> 00:01:33,980 You can do it like this. 21 00:01:34,130 --> 00:01:37,810 And a Peter O'Collins. 22 00:01:38,660 --> 00:01:39,280 Very good. 23 00:01:39,320 --> 00:01:41,340 He and the end. 24 00:01:41,340 --> 00:01:44,620 You know you can bring this out. 25 00:01:44,630 --> 00:01:48,050 He is see underscore last name still work. 26 00:01:50,680 --> 00:01:57,170 Without dollar sign, of course, and let's see here is Collins, very good. 27 00:01:58,570 --> 00:02:00,240 Why do you have this alert, OK? 28 00:02:00,280 --> 00:02:03,590 Yeah, I do have this alert and I'm just going to move it onto the top. 29 00:02:03,820 --> 00:02:07,670 So this is one way of bringing out this one. 30 00:02:08,770 --> 00:02:10,270 See, sometimes I forgot things. 31 00:02:10,270 --> 00:02:11,080 I'm sorry about it. 32 00:02:11,440 --> 00:02:17,050 And I have too many files and I don't know which file I'm looking at. 33 00:02:17,060 --> 00:02:18,600 And that's why I'm doing this now. 34 00:02:19,870 --> 00:02:32,470 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 35 00:02:32,470 --> 00:02:32,950 like this. 36 00:02:33,160 --> 00:02:34,840 So it's not allowed. 37 00:02:35,200 --> 00:02:40,930 But you can say, OK, underscore one is equal to one. 38 00:02:41,170 --> 00:02:42,400 That's a different story. 39 00:02:42,400 --> 00:02:48,640 But you can't say you can't start with the number that now you know the naming convention. 40 00:02:48,700 --> 00:02:51,700 OK, so I'm just going to sit here 41 00:02:54,160 --> 00:02:59,560 naming variables, naming convention. 42 00:03:01,050 --> 00:03:15,870 So we can start with letter dollar sign or underscore, but he cannot. 43 00:03:18,070 --> 00:03:27,670 With numbers or percentage or whatever you put it there, for example, for percentage, sorry, come 44 00:03:27,670 --> 00:03:32,790 on, percentage and some is equal to something else like 500. 45 00:03:33,040 --> 00:03:34,440 That is not. 46 00:03:34,870 --> 00:03:39,190 So I'm just going to copy this one and I'm going to say not valid. 47 00:03:42,010 --> 00:03:44,580 Valid naming convention. 48 00:03:48,930 --> 00:03:55,920 So now that you know how to do the naming convention, we can continue something else and you should 49 00:03:55,920 --> 00:04:00,600 stick to a Campbell case because most of us, we are sticking to Campbell case. 50 00:04:00,780 --> 00:04:05,910 And if you go somewhere in a company, they will stick to this part, to the Campbell case. 51 00:04:06,060 --> 00:04:07,290 So where their first name. 52 00:04:07,290 --> 00:04:07,910 Last name. 53 00:04:08,130 --> 00:04:15,000 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 54 00:04:15,000 --> 00:04:15,420 in. 55 00:04:15,420 --> 00:04:21,360 But make sure that, you know, that dollar sign underscore in the letter is acceptable. 56 00:04:21,840 --> 00:04:23,070 Everything else it's not. 57 00:04:23,700 --> 00:04:24,450 Thank you very much. 58 00:04:25,440 --> 00:04:29,520 For now, just like that, maybe in future they will change in any of it does. 59 00:04:29,520 --> 00:04:30,860 Even if it's changed. 60 00:04:31,230 --> 00:04:39,930 Please drop a comment like subscribe whatever you want to do, because I depend on you guys here. 61 00:04:39,960 --> 00:04:41,430 I depend on your trust. 62 00:04:41,430 --> 00:04:48,180 I depend on your dedication to my channels, to my views, to my work. 63 00:04:48,180 --> 00:04:51,570 So if you like my work, please read it. 64 00:04:51,570 --> 00:04:58,170 And if you don't like my work ulcerated and what else if there is something new that you know that I 65 00:04:58,170 --> 00:05:04,650 don't know, just drop a comment so I will be able to know when I will be able to create a lecture and 66 00:05:04,650 --> 00:05:05,080 fix it. 67 00:05:05,490 --> 00:05:06,300 Thank you very much. 68 00:05:06,420 --> 00:05:08,910 I talk too much and see you in the next one.