I've been looking for a detailed explanation on class for two days and I'm just amazed how good this video is. The only video on youtube that I found explaining how to make properties private in classes. Definitely subscribing.
This is one exceptionally good tutorial! I just knew the basic bare bones concepts of creating classes with objects. You took these basic concepts and grew them in complexity where it is understandable to a simple person like me. Thank you for the education and for making this content free, I am always broke, lol, thank you so much.
You are the first tutor that made me understand super() and class concept for JavaScript. Usually I was confused in React.js tutorials when I try to understand class components!
Again, a great tutorial. As I learned Java as my first language, it was definitely easier grasping the objects and classes concepts. It reinforced past learnings. Thanks Dave! 🙏 Edit: only one thing I feel mentioning here(for clarity) is, for factory functions we return a JavaScript Object which can be filled in by using the parameters passed to the function in variety of ways we see fit. That is why we get a object in 'myPizza' variable, and we can use it further with dot notation to call the function 'bake' by using it as a key in the key-value pair of the object.
I am learning React from TMZ and there is a section there like since in the first folder. Like I understand functional component in React to be honest, I didn't understand how to pass the previous state and I remember I have learned by one of your videos. So while learning like in the first hours from beginning react since the first minute that I opened that lecture with class component I say to myself. Stop the video right here, go to Dave class lesson of JavaScript (I didn't know it that you have this video I just trusted the logic that you are great, so you are not going to miss to teach us this concept). So after 1h of learning now, I'm going to go back to React with deeper understanding. I like to call it the epistemology of coding. Coming from social background I like to go to the root of the problem and since I enjoy JavaScript but didn't know class I feel more great :) Thank you
Guess that was a workaround too to add # and limit its use inside classes to mimik the private behavior. Smart quick implementation though to solve the accessibility issue.
Thank you! 🙏 I may do more in the future. My focus this year has been React, MERN and other areas of Javascript. I always come back to Vanilla JS though! 💯
You are a great teacher. No doubt. But I have to say, JS has been extremely hard to understand. Loved HTML and CSS. This class is giving me headaches lol. When I checked the comments seems I'm the only one. I felt so bad and stupid. However, It also seems people here already have a basic experience and I'm having the first contact by your videos. So I wonder if there is any tip or path I should go first. Maybe start again or keep studying HTML/CSS more... I was planning to finish your JS videos before that but it feels I'm holding myself back now. So frustrating
Please justify obfuscation. Part of OOP was to get away from spaghetti code. Adding obfuscation is adding in spaghetti code. Go here to get there. But that points to this place. It adds confusion and bloated code.
Sir please sir class explain agian another video sir please 🙏🙏🙏 i al from india.i have language problem also.you class i watched html css also very good.but javascript classes part i feel tough.you can explain slovely another video sir please sir.this for kind to tell your subscriber 🙏🙏🙏
At 1:05 we add the bake() method to the first example and other methods are discussed and displayed in the video, too. With examples of methods provided throughout the tutorial, I'm not sure what you are requesting / wanting / missing / or SHOUTING? Please clarify. Thanks.
Ah I see. It has been awhile since I made this tutorial, but I think you can review the factory function portion for a current way to make private properties and methods. 👍🚀