Python Programming Tutorial - 29 - Classes and Objects

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

I was having a hard time understanding so I searched up your video and wow my mind is blown. You explained that like if I was in first grade thank you.

paulgarcia
Автор

I have seen so many videos on classes and objects in python and this one is by far the best example and very well explained. Thanks much.!

gauravmaithani
Автор

"An object is a copy of its class" - This made it all make sense. Thanks!

matthewholderbaum
Автор

I've seen all kind of explanations of objects and classes, all the way back to 1995 when I first attended my first class in Java. This is by far the best and cleanest explanation I have ever seen. I've seen so many teachers and professors struggling for days and weeks to make their students understand. And I do believe you unfolded this enigma in less than 8 minutes. You sir deserve a standing ovation...

erikek
Автор

You're a good teacher. Most books/tutorials get caught up in minute details and a bunch of unhelpful stories. I figured out classes on my own a week ago (everything is just a variable, variables within variables, inception style), but wish I had seen your video before then. The best programmers are not good at explaining something to non programmers, and they happen to be the ones writing the books lol

sochattmedia
Автор

You can easly auto "copy/paste" a line of code in PyCharm: place your cursor in the line you want to copy and then press Ctrl+D (like duplicate).

johnnyluk
Автор

Sometimes all it takes to understand something is an awesome example

OliverFrostBLD
Автор

Using a character (Enemy)of a game to demonstrate class and objects is brilliant. Once you said the magic words "it's a copy" and "blueprint" it all came into focus. Thank you so much for your insight and willingness to share.

DwaynSmith
Автор

The best tutorial on Classes I can say. Found the topic in every programming language and never got that great explanation of what actually the objects are. Hats off to you. You are presently 'THE BEST' to explain programming to me.

yashgulati
Автор

Easily the best tutorials on the net. I’m kicking myself because I paid for a tutorial and was dead in the water on self and the init function. Lost my mind over an idea so easily explained! Thank you!

markarzaga
Автор

You are the best teacher on the internet!! I have been trying to learn OOP for EVER and you are the first one to make me understand it.

thomasip
Автор

God, I love your videos! I start my weekly assignments and still feel like an idiot 5 days later after the 15 hours of assigned reading ... then I watch your video and I am Enlightened. Thank you. Glad you are back!

kiarafauxbel
Автор

Bucky, this is one of the best and simplest explanation of classes and objects I heard so far. Very good job, thumbs up.

Procalifragilism
Автор

For the people that doesn't understand the self
Since I have some coding experience in c++ I think I understand how the 'self' argument works. The 'self' argument is kind of same as 'this' pointer. The main purpose of 'this' pointer was it point to object that it calls and that's what self argument is doing. Let me give u an example.
class Num:
num = 5
def print_num(self, num):
print(self.num) # prints the num of the class Num
print(num) # prints the num that you have passed in the function


x1 = Num()
x1.print_num(100)

Output:
5
100

I believe this self argument is mainly used to clear idea of which variable u want to use i.e. variable of the class or just the argument which has the same name as the class variable.
Hopefully this helps and sorry for my bad English

nirmalkc
Автор

Wow I needed a simpler explanation to start wrapping my head around classes. I’m lost at school and a lot of videos on YouTube we’re going right over my head. Your video was perfect! Thank you!

dabeanman
Автор

Ohhhh my God... After all these months everything started to make sense! And only after watching Bucky's videos of 2009 and 2014..! Thank you man!!!

epo
Автор

this man is by-far the best teacher when it comes to python tutorials

yaseenhoque
Автор

Wow. I have struggled between understanding the difference between object and classes for a long time now. Your video just made everything click together. Thank you so much!

GeeShepherd
Автор

this is the simplest definition for class that actually make sense. Thanx for the video.

soorajh
Автор

Wow! this is a gem of a video. Came to learn a little bit of syntax for python, but ended up finally grasping the idea of object oriented programming!

Alexander-zcju