You have a super rare skill. It's rare to find someone who is both a skilled programmer AND a skilled teacher / communicator. Thank you for your videos
@olegfare46252 жыл бұрын
and Zach Efron level of handsome
@sclutzo2 жыл бұрын
Totally agree!
@samanthawu16375 ай бұрын
I second this!
@Peace-bt7mb27 күн бұрын
True. I know lots of really great skilled programmers but they don't really know how to explain it to a beginner
@camilafloressanhueza79664 жыл бұрын
OMG!! I had seen 100000 videos whose explanations were extremely complicated, but you explained it in less than 5 minutes!! Thank you very much
@GoogleAccount-jw1rd2 жыл бұрын
And understandable
@horaciothedesigner6 күн бұрын
Yeah, I love this Channel because he is great at explaining in such a simple way. Helped me with some learning breakthroughs. Great for beginner developers or coders.
@Max-nm8ct3 жыл бұрын
Mate, I must say, your hair is on fleek!
@AlexTechie6 жыл бұрын
6:36 I didn't know that. This is why I always watch your videos, even if I think I understand the subject before hand. Great work! 👍
@WebDevSimplified6 жыл бұрын
It is a bit counter intuitive based on the name. You can use Object.freeze to create an object that cannot have the properties reassigned, but it will still let you reassign a nested property such as company.ceo.name = 'New name'
@AlexTechie6 жыл бұрын
@@WebDevSimplified thanks for the tip! As I was watching the part I referenced earlier, I was wondering how we would assign constants to the properties of an object, so it's like you read my mind. :D
@TheSlimSh4dy4 жыл бұрын
Thank you for the clear explanation! Currently, I'm learning HTML, CSS & Javascript and if I don't understand something, I'm firstly looking at your channel to find an explanation. If it doesn't exist on your channel, then I'm searching in other sources. You are a very good teacher, your videos are short, consistent and very clear, without any unnecessary content. Thank you very much for sharing your time to make these videos.
@dorothyglade90873 жыл бұрын
This was great, you speak at just the right speed and your voice is clear. This really helped me and my husband with something in our bootcamp.
@jthomasaurus5 жыл бұрын
Another super-clear explanation. Love your video style, brevity, and way of explaining everything. Plain and simple!
@LeHuffy6 жыл бұрын
This video came just in time. We are going through Javascript and JQuery right now in my bootcamp!
@WebDevSimplified6 жыл бұрын
I'm really glad to hear. If you run into anything that confuses you in the bootcamp feel free to let me know, and I can try to help or make a video on the topic.
@LeHuffy6 жыл бұрын
@@WebDevSimplified Awesome will do!
@tonic.92343 жыл бұрын
I never knew var worked like this, and I've been using Javascript almost daily for over 2 years. I always assumed it worked like let because I have a background in other programming languages and assumed it's scoping worked the same. So wild! Thanks for the clarification!
@pratikthorat34803 жыл бұрын
This is the best explanation I've ever seen. I do know the differences yet I learnt something new
@michaelmaloy6378 Жыл бұрын
Whenever I see that face, I know useful information is coming my way. Simple, clear, and very helpful. Thank you as always!
@AidanJoyce2 жыл бұрын
Would like to say, well done and thank you for a clear and concise explanation of the similarities, differences and when to use, Var, Const and Let. Watched other videos and without doubt, you nail it better here with both explanation and example. Will be watching more of your stuff as this was a great measure stick for the quality of teaching. Keep up the great work.
@dsvhs934 жыл бұрын
Whenever Kyle comes out with the JavaScript class that he is working on.... I am purchasing it. He is awesome! Thank you Kyle!
@WebDevSimplified4 жыл бұрын
Thank you for the support! I start recordikg tomorrow!
@sagarioharvey69102 жыл бұрын
Web dev here in the PH. "Man I love your videos, your making a great impact" //awesome
@dozadetrezire74552 жыл бұрын
You forgot to say one more thing: when you declare a variable with var keyowrd, this automatically creates a property inside the Window ojbject.. so, if you say for example: var x = 1; and after that you say: console.log(window)... you will see that in the window object you will find the property X with the value of 1. Instead, if you declare a variable with let or const, this won't ceate a property inside the Window object. I guess this was also very important to mention!
@moonlightCR7 Жыл бұрын
Thanks a billion, Kyle for explaining the difference among these keywords.
@pooja63802 жыл бұрын
learn so much important points and the actual difference ....thanks a lot
@rohit99691715795 жыл бұрын
It was very crystal clear explanation thank you.
@theNikijspictures Жыл бұрын
Really good explanation, for beginner level - if reading info only in text (with no visual examples), it gets confusing quickly on this topic. Cheers😉
@gqntexas3 жыл бұрын
Great great explanation.. you always here that the differences is the 'block scope' and then wonder, well, like within an if or for loop, but nobody else ever says that...
@samanthawu16375 ай бұрын
You were born to teach! Awesome!
@derrick35345 жыл бұрын
man you are teaching the things that are not widely discussed which is why i am going to subscribe. You have a true gift of teaching in simple terms. i enjoy your channel, especially the tutorial on promises
@WebDevSimplified5 жыл бұрын
Thank you! I try to cover the topics that I know confused me or other people I know, because those will be the most helpful for others.
@dacfniel54424 жыл бұрын
You are the best teacher on KZbin.
@therealbrucewayne242 жыл бұрын
Yes I did learn something thank you very much man it was hard for me to understand this but you explained it in like less than 10 minutes lol you have a good day too :)
@jahneychriast21414 жыл бұрын
தெளிவான விழக்கம் நன்றி 🙏🏽
@manojbharadwaj4564 жыл бұрын
That's so motivating. Because nobody understood that!
@raaghavendrahm48833 жыл бұрын
I am just starting with JS and I was stuck with this like hell. You made it so clear. Thanks a lot!!
@santra5284 жыл бұрын
This is complete explanation of let vs const vs var I have ever seen. Thanks Kyle 😊
@jorgefrias7889 Жыл бұрын
Amazing explanation. Simple and straight to the point. Thank you!
@borislavaborisova72742 жыл бұрын
Thank you! This video was very helpful. Just what I needed.
@videospromoter58844 жыл бұрын
Checked 10s of video and this video told me hmm you understand this now . say thanks to him :) Thanks Dude
@bozok19034 ай бұрын
Very clear explanation. Thank you for that.
@nessparadis6948 Жыл бұрын
Great video. Succinct, clear to understand, and I learned a lot. Thank you.
@thecoderabbi4 жыл бұрын
Thank you very much Kyle, This is great. Very explicit. I think I would begin using the 'const' instead of the 'var' Thanks ✌️
@sandybathwater83853 жыл бұрын
So simple, thank you so much! If I search for something and see your face in the results, I am saved. :)
@sadhappy8860 Жыл бұрын
Super clear explanation, many thanks
@mayorb372 жыл бұрын
You make a wonderful work 👍👍👍👍👍 thanks
@injector69263 жыл бұрын
Best Web Development I seen evrr
@rajlakshmijoshi2 жыл бұрын
Thnks for the detailed vid, just one correction: At 5:35-> const does not allow to 're-declare' the variable, actually should be const does not allow to 're-assign' the variable, but let do.
@baliyachtservices75052 жыл бұрын
I was wondering just that! Thanks so much
@ev_dash2 жыл бұрын
Your videos are helping me out alot! Thank you ❤
@ImHansana1238 ай бұрын
The good old days when we didn't have chatgpt.❤️
@WebDevJapan8 ай бұрын
lol true, but I like seeing a human explain it sometimes. Even though I can get quick answers from Professor GPT, I've made it a habit to watch one short intructional video like this everyday.
@JEffinger2 жыл бұрын
Thank's bro that was a really clear explanation.
@СашаТюменцев-ш9ь3 жыл бұрын
huge thanks for the explanation, only you made it clear to me!
@aisana992 жыл бұрын
thank you :D you shared more differences than my constructor in my Full-Stack Bootcamp! Will subscribe and watch all other videos of yours
@weligamage12 жыл бұрын
Clear and concise, Thank you
@tiltify23933 жыл бұрын
finally I understand the difference, thanks man A LOT
@bujjivenkateshwarlu69423 жыл бұрын
Hey thanks. earlier i had confusion about block scope and Function scope. Now its cleared.
@khaktus2 жыл бұрын
While I prefer Kyle's tutorials over the others for various reasons (extent > clarity > simplicity), for this one I'll differ from the praise-storm below - this was just one of the many confusing explanation of the var|let|const topic that I've seen so far. This is the problem that many skilled developers have - they assume that as developers they have analytical thinking and provide well structured explanations (naturally, by default) - but I have seen - since the university times to professional days - that the paradoxical situation happens: techies often do the exact opposite: they do not adhere to the structure/hierarchy of the topic, nor the consistent use of terms they set in the beginning. :D Something to work on throughout professional life. In first part, you repeatedly state that var does and let does not allow to redeclare the variable, then you say the difference between let and const is that const does not allow to redeclare the variable. That paused my brain, while explanations went on. Maybe stating more clearly what is the difference between (your use of) "redeclare" and "redefine" and "reset" and "reassign" ... would help. Particularly in this one topic. :) I'd welcome more "technical" "analytical" (or tabular ;) ) than the "narrative" approach here. And particularly a consistent use of terms. 1 minute: redeclare: var|let|const myThingy = 10 var|let|const myThingy = 20 redefine/reassign/reset variable value: var|let|const myThingy = 10 myThingy=20 redefine object|array items value (not object|array value, which is just its memory address, so that remains "constant"): var|let|const myObject = [10, 11]; myObject[0] = 20 1 minute: | redeclare| reassign value of variable | reassign value of item in the array or property in the object| ------------------------------------------------------------------------------------------------------------------------------------------------------------ var yes yes yes let no yes yes const no no yes Also, from the many lessons on the scope, I understood that "scope" is something defining on what level of nesting we are (regardless if it is a function or block or just anything between {}). This perspective was often emphasized. Here, for the first time, I hear that different scope is actually defined by either function or block. Good point here!
@nowhererealm2 жыл бұрын
dude yes! I was wondering how the heck are there so many people praising the explanation when i couldnt understand why he said let cant redefine a variable then goes on and says thats the only difference between const and let?? lmao wtf
@wr18183 жыл бұрын
thankyou for all the amazing explaining!
@kazeemalatishe38283 жыл бұрын
Thanks a lot. You explain things really well.
@EyeIn_The_Sky3 жыл бұрын
Good old Java script, Let (no pun intended) us introduce "const" that does not allow for re-assigning to avoid human error so that it is "constant" except when it's not...
@JonasGavenas2 жыл бұрын
Great lesson! Thank you, perfect explain.
@derickbank10643 жыл бұрын
Thank you for the explanation. Well explained. !
@coderbhai48323 жыл бұрын
1)Declaration Let variable in a {} block scope can't be access outside of it 2)let name = value1, let name = value2, can't redeclare let twice Instead of this should be written name=value2; 3)let can be change it’s value const can't as it is constant but it can change its object value.🙃
@chalk10073 жыл бұрын
yeah, I was a little confused aswell but this video was made in 2018
@dozadetrezire74552 жыл бұрын
You forgot to say one more thing: when you declare a variable with var keyowrd, this automatically creates a property inside the Window ojbject.. so, if you say for example: var x = 1; and after that you say: console.log(window)... you will see that in the window object you will find the property X with the value of 1. Instead, if you declare a variable with let or const, this won't ceate a property inside the Window object. I guess this was also very important to mention!
@guillaumedupont29024 жыл бұрын
This was SO helpful. Thank you so much!
@priyanshugupta7614 Жыл бұрын
thank you your explanation was very clear
@somtovitus3 жыл бұрын
Best video on this topic
@khisus202 жыл бұрын
This is truly simplified
@stuartgreen52174 жыл бұрын
Been building sites for 30 years and always avoided JS due to pre jquery experience. Am now taking the time to relearn JS and node while I’m at it and I have to say I’m regretting not doing this sooner. I’ve been programming in C# php Perl VB and JS is a peace of cake by comparison .
@agaming78882 жыл бұрын
thanks for this now i know what to do 👍👍👍👍
@pashashyba50062 жыл бұрын
Quite easy to understand. Thanks
@monireachtang7123 жыл бұрын
very clear explanation! you are awesome!
@Peace-bt7mb27 күн бұрын
Is var is a global variable and let and const are local variables? Also, Does Block scoped means a local variable and fn scoped means global variable? I am a beginner, Knows only C++ and Python
@jankiramulu2 жыл бұрын
Wonderful explanation.. Than you....
@RS-nz6rn4 жыл бұрын
Thanks for clarifying.
@ЕдвардГригорян-н6к2 жыл бұрын
great explanation. TY!
@itsshafayat63787 ай бұрын
someone get this absolute master a stellar coding setup i.e a better keyboard
@oceanmind17932 жыл бұрын
You made it so clear. Thanks a lot
@nobitalazy97912 жыл бұрын
you are a rare gem my friend!!!
@hoakeen2 жыл бұрын
Awesome tutorials! Thank you!
@robertoriosmorales75282 жыл бұрын
awesome explanation
@shresthsrivastava273 жыл бұрын
Awesome explanation !
@ruslankovalov82923 жыл бұрын
Thanks God we have you to explain this!! thanks!! A lot! A mean that)
@andyarellano74743 жыл бұрын
Thank you so much bro.
@andreastewart61332 жыл бұрын
Helpful. Thank you.
@jimilittle3 жыл бұрын
That was awesome. Thank you
@Trauma_Clown6 ай бұрын
I need a video that of explaining who these Bob and Sally are, you're using them everywhere :3 Im curious af for real
@xilliman3 жыл бұрын
im declaring every variable as const and then change it to let if i have to reassign them. this makes the code much safer. i don’t use var anymore
@redpadweb3 жыл бұрын
Thank you so much.
@CineIt3 жыл бұрын
Great tutorial, thanks!
@vikumravinayake18823 жыл бұрын
Problem solved Thank you very much. Ur a good explainer....
@RakeshBitling3 жыл бұрын
can you please cover topic related to redis cache along with aws
@andreas-wismann2 жыл бұрын
Great! Suggested topic while you're at it: Semicolons in JS - use or omit?
@rickneibauer12 жыл бұрын
I can't move on until i know why something works unless i ABSOLUTELY have to. thanks to you i can move toward the light. goodbye everyone...
@hanntongfong12263 жыл бұрын
Great work! 👍
@johanledel14075 жыл бұрын
Thank you!
@kushagraraj3163 Жыл бұрын
you r jordi of webdev !!!!!!!
@NedumEze4 жыл бұрын
I love your approach so much. Thank you. I do have a fundamental problem though. Maybe you can consider making video of it. It is this: When I create an external JS file, and I have in it, codes like functions, etc in it, only the first code or function works! What should I do to ensure that different codes intended to fire at different Listeners, in the same file, work?
@manojarya767621 күн бұрын
Awesome...😍👍🏻
@alex_blue5802 Жыл бұрын
I used to see people saying that you should use const only if you have a specific need for a variable to remain constant. Nowadays it seems like people always want to use const as a default and I don't like that as much.
@kamalsyed42374 жыл бұрын
loved it! Thanks.. Const, Let, Var .. it is :)
@sebnargeurbrok13744 жыл бұрын
well explained, thanks!
@halofreak6443 жыл бұрын
You the real MVP
@surendergaini33652 жыл бұрын
GOOD explaintion
@SumitSinghrao4 жыл бұрын
Could you also explain if we declare a variable without var, let and const? Could you also make video on 'this' keyword.
@vikasnigam96463 жыл бұрын
Gr8 explanation.
@NashBrooklyn2 жыл бұрын
wait up! const also allows to assign value outside of block - as many times you would need to assign such value that cannot be changed by hackers - for instance a waiting time to acept a trip request must be 1 minute only - so if a hacker wishes to change that to 60 minutes - const will not let that to happen - const is great to use in many solid inflexible math routines - that can happen all over the code - so if you set the earth radius to its value as per books - then using const will assure it wont be changed by any accidents or bugs in code -