6.2: Classes in JavaScript with ES6 - p5.js Tutorial

preview_player
Показать описание


Timestamps:
0:00 Introduction
3:09 Encapsulation
3:37 Using Classes as a Template for Objects
8:40 The constructor() Function is the Object's Setup
10:10 Using “this.” to Declare Class Variables
12:26 Code Example
14:50 Adding Functionality to a Class

Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound

#basics #oop #objects #p5js #javascript
Рекомендации по теме
Комментарии
Автор

"What does it mean to be a bubble?" I literally understand Classes now because of this adorable man

MattCurney
Автор

His ramble about "What does it mean to be a bubble?" makes more sense if you know he got a Bachelors in Philosophy, as well as Mathematics. Just a fun fact.

jonahmorgan
Автор

Some educational coding videos are hard to watch: 10 minutes feel like the longest, driest eternity. With your videos, 10 minutes pass so quickly, and I learn a lot! Thank you so so much for your content!

carllitabobita
Автор

We live in an age where it doesn't matter if I don't understand a single word my professor is saying, because I can come to YouTube and learn ten times more! Thank you for this video series!

JustinSulak
Автор

You are the best teacher in the world!! :)

Alessandro-nqtm
Автор

a question that has been burnt into my mind after watching this video. "Hows to be a bubble ? " Im going to think about that for a very long time.

romanemul
Автор

I feel so bad as I have just found your channel now, and I haven’t seen this video for 2 years. You are by far the best teacher I have seen

muhammedmustafa
Автор

Dan, I have been at pains with OOP in python & R for many years. Your video series here is honestly some of the most tangible and comprehensible learning material I've come across for this programming paradigm.

leyshonrr
Автор

i pretty much know most if not all of this stuff, but it's still fun to watch Dan talk about it :D

itsMapleLeaf
Автор

Please tell me you teach for a living, you've got the perfect spirit for it. This helped me so much trying to refresh my brain after my break from my curriculum. Thanks so much!

jacob
Автор

You are fun and amazing. You realise later that you actually didn't struggle at all to understand what ever He was teaching about.

gabrielcoku
Автор

Coding in Javascript for 2 years now, have watched tons of videos where has this guy been hiding all the time. damn amazing tutorial.

greatsuccess
Автор

So much energy, so much motivation, when I watch your videos I get 1000% more inspired and motivated to do things in writing codes than just watching...
You are remarkable :)

DesignDensity
Автор

The first time I watched this, I understood nothing and was super confused. The next day, I went back on it and decided that I was going to try my hardest to try to learn again. By the time it was finished, I had understood everything and realized that no YouTuber or teacher will ever be able to teach like this man can. You truly are the goat :)

m.pashakhoshkebari
Автор

One of the best teaching skill i have ever seen...great job

viveksakpal
Автор

This guy is a genius. It's been 3 years now and your video is still very relevant. Thanks for making my understanding of OOP easier sir.

fotiem.constant
Автор

Very well done, good example of JS and OOP. "this. is the bane of your existence now", so true.

seeker
Автор

"There are 15 different ways to do everything in JavaScript and also this video will be out of date by the time you watch it because there will be a new way which peopel are doing now, I am just trying to keep with the times."

Me too train man. Me too.

Vendavalez
Автор

The reason I enjoy learning p5 is because it allows me to visually see JS in action and how all the different parts (loops, conditionals, etc.) translate visually. I think this will help me to apply JS to less visual applications when the time comes. I also think he's hilarious. Great teacher.

heidik
Автор

I just found out about this tutor by co-incidence when I was searching for online videos to explain classes, and he is really brilliant to make things fun and easy!

bahaatamer
visit shbcf.ru