Python Object Oriented Programming (OOP) - For Beginners

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 พ.ย. 2024

ความคิดเห็น • 2.6K

  • @TechWithTim
    @TechWithTim  4 ปีที่แล้ว +1672

    Start a high paying tech career making $60k+/year with NO DEBT: coursecareers.com/a/techwithtim?course=software-dev-fundamentals

    • @felixst-gelais6722
      @felixst-gelais6722 4 ปีที่แล้ว +53

      Tech With Tim “JUTS noticed” you say? Hahahah

    • @TechWithTim
      @TechWithTim  4 ปีที่แล้ว +136

      Shhhhh

    • @bobturner2764
      @bobturner2764 4 ปีที่แล้ว +54

      Hello tech with Tim I'm a 14 year old trying to learn python. I'm finding it hard to get out of the beginner phase. I tried code wars but found the problems too hard. Any advice on how to practice and improve and what resources I can use. I have pycharm ide set up and have lots of free time with this quarantine going on.

    • @xkall
      @xkall 4 ปีที่แล้ว +26

      @@bobturner2764 Try to learn from a book. It's easy to learn from a book because they're well organized and structured.

    • @sponzor94
      @sponzor94 4 ปีที่แล้ว +3

      How are you doing during these times

  • @developertools95
    @developertools95 3 ปีที่แล้ว +600

    Tears from my eyes when I finally understood what "self" keyword here is all about. Thank You!!

    •  ปีที่แล้ว +21

      I look at it like "this" keyword in c++

    • @lozaur9837
      @lozaur9837 ปีที่แล้ว +9

      I’m struggling to understand self 😢😢

    • @lozaur9837
      @lozaur9837 ปีที่แล้ว +8

      Update: after watching the video. I now understand what you mean… i understand it now! 😮😮😮

    • @bassplayermaster11
      @bassplayermaster11 ปีที่แล้ว

      ​@@lozaur9837🎉👏👏👏

    • @purpletom_yt3138
      @purpletom_yt3138 ปีที่แล้ว +38

      Explanation on self: self refers to the class. Say you are defining a function and you use the parameter self. That parameter means that you will use that class you’re defining the function in. You will have access to all its attributes by just typing in self.attribute

  • @jamescuadra169
    @jamescuadra169 4 ปีที่แล้ว +3452

    Are we all going to ignore that fact that the acronym for Python Object Oriented Programming is POOP?

  • @verycalmman
    @verycalmman 2 ปีที่แล้ว +579

    0:00 OOP basic
    28:11 inheritance
    40:53 static and class methods and attributes
    Don't mind me, just putting this here since I might need it.

    • @Psychetwo
      @Psychetwo 2 ปีที่แล้ว +33

      time stamps on these type of educational videos are definitely helpful. Thanks! Hopefully Tim have some time to go through some of these older videos and add chapters.

    • @smaransure2234
      @smaransure2234 2 ปีที่แล้ว +1

      Can an attribute be an 0bject

    • @ThsHunt
      @ThsHunt 2 ปีที่แล้ว

      @@smaransure2234 i think not

    • @ruonaazigbo904
      @ruonaazigbo904 2 ปีที่แล้ว

      Thank you

    • @Sol4rOnYt
      @Sol4rOnYt 2 ปีที่แล้ว

      @@Psychetwo yh

  • @blazer8082
    @blazer8082 2 ปีที่แล้ว +197

    You've just explained OOP in 15 minutes better than my course teachers did in a semester. Thank you!

    • @Sol4rOnYt
      @Sol4rOnYt 2 ปีที่แล้ว +8

      american lol

    • @jx6040
      @jx6040 ปีที่แล้ว +13

      @@Sol4rOnYt foreigner lol

    • @kesatola3554
      @kesatola3554 ปีที่แล้ว +2

      @@jx6040 what you said made no sense lol

    • @yafetsolomon2107
      @yafetsolomon2107 11 หลายเดือนก่อน

      neither did the previous comment@@kesatola3554

  • @k8ysk8
    @k8ysk8 4 ปีที่แล้ว +1329

    You really are a star. I got a concussion and had to miss several weeks of my intro to computer programming summer course, and your videos literally saved my grade. I'm trying to get into med school, and people like you who put in hours of effort just to help complete strangers are an absolute blessing. Thank you so much Tim. I'll make sure to donate to your patreon once I can afford to!

    • @baka_geddy
      @baka_geddy 4 ปีที่แล้ว +31

      Hope you are getting better now!!!

    • @TheJacklwilliams
      @TheJacklwilliams 4 ปีที่แล้ว +21

      @@baka_geddy WOOT WOOT! I also have to add KatieSkate, you are a STAR! Seriously? Med school? And learning OOP/Python? Wow, just wow, humbled. KEEP IT UP YOU MAD ONE YOU!!!!!! Get well and GO AFTER IT!!!

    • @baka_geddy
      @baka_geddy 4 ปีที่แล้ว +15

      @@TheJacklwilliams many of my bio stream friends can code python... It's not that difficult though...

    • @executorarktanis2323
      @executorarktanis2323 3 ปีที่แล้ว +2

      Yeah like I also want to donate to my guy Tim or bprp or any educational vids but to young to donate or have money

    • @brijeshsamal7035
      @brijeshsamal7035 3 ปีที่แล้ว +9

      @@executorarktanis2323 Tim is brilliant! You can donate to him indirectly by sharing his videos due to TH-cam Monetization, so you don't need to have your own money to give him some.

  • @troyke
    @troyke 4 ปีที่แล้ว +118

    As someone who's visually-impaired, I REALLY appreciate you using larger fonts in brightly-contrasted colors to do your tutorial. It REALLY helps!

  • @piquat1
    @piquat1 4 ปีที่แล้ว +349

    I've tried to understand classes many times. This is the only one that got me there. Self, methods, inheritance, init ect. I get it now. Thanks!!

    • @aammssaamm
      @aammssaamm 4 ปีที่แล้ว +2

      His interpretation is incorrect. You may want to read some good books.

    • @JayMaverick
      @JayMaverick 4 ปีที่แล้ว +1

      @@aammssaamm can you elaborate? Which part is incorrect?

    • @aammssaamm
      @aammssaamm 4 ปีที่แล้ว

      @@JayMaverick Already.

    • @dicksang2
      @dicksang2 4 ปีที่แล้ว +10

      @@JayMaverickDon't bother with his speech. He is only a poor TH-camr with 91 audiences, compared with Tim, 466K subscribers.
      An average guy knows who to choose to believe. :)

    • @nayan9672
      @nayan9672 3 ปีที่แล้ว

      @@aammssaamm tell a good book for python OOP

  • @Compulsive_LARPer
    @Compulsive_LARPer 2 ปีที่แล้ว +28

    It's such a blessing to have such a spiffy guy putting this out for free.
    class Emotion:
    def __init__(self, g, l) :
    self.g = g
    self.l = l
    def get_g(self) :
    return self.g
    def get_l(self) :
    return self.l
    e = Emotion("gratitude", "love")
    print ("I feel", e.get_g(), "and", e.get_l(), "for your content")

    • @shaheerahmad2845
      @shaheerahmad2845 3 หลายเดือนก่อน

      I know its been a year but i am really struggling with this self thing hope you can help

    • @WeReNeR-k2f
      @WeReNeR-k2f 3 หลายเดือนก่อน

      @@shaheerahmad2845 i dont know what you're struggling about exactly, but it helped me to think of a situation, where you dont need "self". I am a newbie to OOP, so dont take my words as granted, but the way I see it - without self in the brackets after "info" you don't need an actual object to use this method. It could be useful, like in the scenario below, to call a method that has something to do with this class as a whole, not with the property that an object of this class has.
      class SomeImportantStuff:
      def info():
      print('blah blah blah')
      Here you can just write SomeImportantStuff.info(), not
      d = SomeImportantStuff()
      d.info()

  • @aakashjaiswal2003
    @aakashjaiswal2003 2 ปีที่แล้ว +403

    Never finished a 54 minute educational video without any break. So well organised and clearly explained. Not a single minute wasted or rushed. Thank you Tim. Channel subscribed!

  • @DC-yf9vy
    @DC-yf9vy 3 ปีที่แล้ว +244

    I'm over a year late, but this is the best explanation of classes I've ever seen. Great work, thank you!

    • @artistpw
      @artistpw 3 ปีที่แล้ว +3

      I was about to mention this as well. Really excellent examples and well delivered information!

    • @cuboembaralhado8294
      @cuboembaralhado8294 9 หลายเดือนก่อน

      Who cares if you're a little bit late! Learning is eternal

  • @0xBerto
    @0xBerto 4 ปีที่แล้ว +282

    Wait seriously this was just uploaded woo. Haha. So happy I found this channel
    Edit: this was the “easiest” 53 min of coding to digest on a video. Tone, example, audio quality, clarity. First step slow and explained. Then doing it again a little faster. Loved this video. More intermediate Python vids please ! 🙏🏼

  • @machibutinenglish1468
    @machibutinenglish1468 3 ปีที่แล้ว +102

    "I hope this make sense"
    man, it was clearer than water. Thank you so much.

    • @JackDaniels08
      @JackDaniels08 6 หลายเดือนก่อน +1

      What if someone is watching this video from Africa? It wouldn't be clearer than water for them.

    • @maximofernandez196
      @maximofernandez196 6 หลายเดือนก่อน

      @@JackDaniels08 everything would be

    • @JackDaniels08
      @JackDaniels08 6 หลายเดือนก่อน

      @@maximofernandez196 Btw, it's been almost three years since you posted your comment. How has life treated you since then? Have you found that learning OOP was worth the effort?

    • @maximofernandez196
      @maximofernandez196 6 หลายเดือนก่อน

      @@JackDaniels08 I'm the same person with a different account. Yeah, it is useful because it's used, but that doesn't mean you have to use it for everything, but rather combine the great things about procedural programming, functional programming and oop. A ton of people say that inheritance is not useful and that's true most of the time, because it sounds great at the start, but once you have to make a change to the parent class, things tend to break. Also, maybe python is not the best language to learn oop with, cause it's not an object oriented language. But overall I would say that objects tend to make sense to describe things in your program, and learning the basics is very very useful :)

    • @JackDaniels08
      @JackDaniels08 5 หลายเดือนก่อน

      @@maximofernandez196 Thanks a lot for your detailed explanation. And yeah as a beginner programmer I was curious about the uses of OOP.

  • @letslearnabout4934
    @letslearnabout4934 4 ปีที่แล้ว +317

    When I started learning OOP it took me a while to differentiate between methods types, so if you are struggling with that too, here's a quick summary:
    Method = function related to that instance of a class. Use this type it when you are using values of the own instance (its own name, age, etc). You need to create one instance to use it.
    Classmethod = function related to that class and that class only. Use this type when you are using values of the class, not the instance (For example, using a class that retrieves the total count of instances of that Class created and stored in a class variable). You don't need to create one instance to use it.
    Staticmethod = function not related to that class. Used for organization purposes (For example, a Calculator class with add, subtract, multiplicate, etc methods). You don't need to create one instance to use it.

    • @WasiMaster
      @WasiMaster 4 ปีที่แล้ว

      No reply, why? Thanks for this, it really helped me :)

    • @adrielbradley6677
      @adrielbradley6677 4 ปีที่แล้ว

      This really helped, thanks!

    • @sharafmzaman7412
      @sharafmzaman7412 4 ปีที่แล้ว

      Finally what I was looking for

    • @abhinabkhanal4662
      @abhinabkhanal4662 4 ปีที่แล้ว

      Thanks for the awesome explanation. Keep up the good stuff 🤗

    • @MG-wx8yx
      @MG-wx8yx 4 ปีที่แล้ว

      I thought staticmethod and classmethod are the same thing, the function related to a class not to instances of that class.

  • @michellekester4871
    @michellekester4871 3 ปีที่แล้ว +6

    I just wanted to say that you have a great way of explaining the topics without talking down to the listener.

  • @nukakolaa
    @nukakolaa ปีที่แล้ว +3

    "if you can't explain it simply, you don't understand it well enough" - Einstein, your video really make complicated things easier to understand, i have paid about $300 on a programming course that explained OOP poorly, watching your video really helps me a lot

  • @khmsalhuas1
    @khmsalhuas1 4 ปีที่แล้ว +36

    at 39:00 the reason we do super().__init__(*args) is to extend the Pet.__init__() method and add more attributes without completely overwriting the Pet.__init__() that gives us access to the self.name and self.age attributes that are used in the other methods like show. So the way I think of inheritance is there are four ways of doing this: 1) straight stealing from the parent class , 2) completely overwriting the parent class methods, 4) partially overwriting the method (extending the parent method (using super)), 4) independent new method.

  • @ratmoko1
    @ratmoko1 2 ปีที่แล้ว +13

    Seriously, you gave me a better understanding of OOP in the first 8 minutes than in hours of videos and reading elsewhere.

  • @SyedMuhammadZubairShahBukhari
    @SyedMuhammadZubairShahBukhari 3 หลายเดือนก่อน +2

    Totally worth it. ( spending 3 hours)
    I was new to these topics and after this video i feel like that now i can make my own custom classes.
    Thank you sir

  • @TwoToedSloth
    @TwoToedSloth 2 ปีที่แล้ว +30

    This is a really good video. I'm a chemical engineer, and I've been using python for simple scripting and numerical methods (e.g. 1D+time FEM) for a few years. This video taught me everything I need to know to simulate a helium brayton cycle. Each stream is an object under the class 'State' and each piece of equipment is an object under the classes 'Heat' and 'Work', each of which inherit its inlet/outlet streams from the parent class 'Equipment'.
    I'm sure as I watch your more advanced series on the topic I will realize how clunky my first attempt is and will be able to improve it.

    • @profarvind
      @profarvind ปีที่แล้ว +5

      I am a chemical engineer. Would like to write code for dynamic simulation of equipments. Thinking on the same lines. Can we get in touch, share ideas??|

  • @YoungJakobus
    @YoungJakobus 4 ปีที่แล้ว +201

    Thanks, man. This really helped me with just getting my basic understanding, I've taken notes, and watched the video about 3-4 times now just to see whether or not there was more that I could get from it. Thank you very much for taking the time out of your life to help people like me grasp the fundamentals of programming. Because this has also helped me with other languages, not just Python. And I had to come back to your video just to leave this comment thanking you. Thanks again bro.

    • @UnknownSend3r
      @UnknownSend3r 3 ปีที่แล้ว +3

      That's really nice of you bro.

    • @IIISHARKIII
      @IIISHARKIII ปีที่แล้ว

      You hope?😂😂😂 You're sure we understand that.. you're awesome brown.

  • @tonyradice4166
    @tonyradice4166 4 ปีที่แล้ว +33

    You answered a number of complex topics in only one hour - this was an outstanding use of time!! THANK YOU!

  • @justinstuder7703
    @justinstuder7703 4 ปีที่แล้ว +40

    This is absolutely the most comprehensive look at OOP that I've ever had. Thank you for being so thorough with your explanations. I had multiple "oh so that's what that means" moments.😁

    • @obiwanfisher537
      @obiwanfisher537 2 ปีที่แล้ว

      That's the sign of a good explanation.

    • @tristansargent7010
      @tristansargent7010 2 ปีที่แล้ว +1

      Hey, its a year later, and I am having this same experience watching his video. This is a fantastic introduction to OOP.

  • @rajatchopra1411
    @rajatchopra1411 2 ปีที่แล้ว +4

    that's probably the best object orientation programming overview on youtube so far

  • @MohamedAhmed-rf5bk
    @MohamedAhmed-rf5bk 2 ปีที่แล้ว +9

    He is so good at explaining the basic stuff that other instructors neglect

  • @andrewmasse5475
    @andrewmasse5475 4 ปีที่แล้ว +7

    I'm in the final year of my CS degree and this is by far the BEST OOP explanation I have seen. GREAT WORK!

  • @ooagabonjoaga2680
    @ooagabonjoaga2680 4 ปีที่แล้ว +29

    The quality of these FREE tutorials are amazing. thank you Tim.

  • @origamiguy
    @origamiguy 3 ปีที่แล้ว +3

    you are litterally the best teacher in programming

  • @gingerbread_GB
    @gingerbread_GB ปีที่แล้ว +13

    I studied computer engineering more than 10 years ago, never learned python or objective oriented programming and haven't done any serious coding in a decade. Your video was absolutely perfect for me to get back into the game. The pacing was just right for me to absorb the information at a casual pace and not get bored.
    PS: Also like how clean Python is compared to C.

  • @evancooper7336
    @evancooper7336 2 ปีที่แล้ว +8

    Mate this was fantastic. I am quite an experienced programmer in my own area, as an actuary, I have a good amount of experience with R and python, never much use for classes in my line of work and I have always found the concept a bit confusing, both the how and why. This took me about 10 minutes to see the value add in OOP and understand it. I've had other people explain it to me for hours and still struggled to understand the benefit. Well done!

    • @JesseHughson
      @JesseHughson 2 ปีที่แล้ว +2

      Same. OOP always seemed like a way to complicate code. Tim does a great job explaining how it simplifies code and why to use it

  • @samwel8671
    @samwel8671 4 ปีที่แล้ว +13

    Tim I would like to thank you as I have made my first project using java, and its thanks to your tutorials that have helped me through learning python

  • @kesavae9552
    @kesavae9552 3 ปีที่แล้ว +51

    Tim is the kinda guy who uses his name as an example for a dog's name❤️

    • @shadow5296
      @shadow5296 3 ปีที่แล้ว +12

      And give himself a 95 grade as well.

  • @mjhessami
    @mjhessami 4 ปีที่แล้ว +16

    Just Wow, and Thank you, Tim! I am learning python for 3 years and all of the time I had issues with the OOP concept in Python as my degree is not IT ( I am a biotechnologist, PhD), but with this amazing video, I learned all I needed and looked for through passed years! Thanks a lot, I follow all of your job and advice all to use your channel! your teaching style is wonderful!

    • @alkhiljohn3813
      @alkhiljohn3813 2 ปีที่แล้ว +1

      I have been learning py for a year and am quite comfortable with it now, but I still don't know OOP very well :,)

  • @alexkerasidis
    @alexkerasidis 2 ปีที่แล้ว +3

    I cannot describe how glad I finally am to get to understand the basics of Object Oriented Programming in one afternoon! Thank you!

  • @Biologicallyx
    @Biologicallyx ปีที่แล้ว

    It is 2023 I started and finished this today. Thank you TIm for helping me along my python journey.

  • @juborajroypavel8342
    @juborajroypavel8342 4 ปีที่แล้ว +15

    It's probably the best Python OOP course on TH-cam. Thank you so much, Dear Tim.

    • @aammssaamm
      @aammssaamm 3 ปีที่แล้ว

      And a wrong one.

  • @radi_dev7628
    @radi_dev7628 4 ปีที่แล้ว +4

    I've been studying python for some time now with Zed Shaw's book 'learn python 3 the hard way'. The whole process has been smooth till I got to oop, my confusion started. But now, watching your video, things are clearer.
    Thank you for the effort you put into this, very informative.

  • @lylerogers8694
    @lylerogers8694 3 ปีที่แล้ว +9

    He's very good at explaining everything he's saying.

  • @aathira
    @aathira ปีที่แล้ว +1

    Thank you so much Tim! I have had so much confusion about OOP for years and today after watching your tutorial I can say confidently that I understand OOP much better. Thank you

  • @nathanaelmoh5848
    @nathanaelmoh5848 7 หลายเดือนก่อน

    Just logged in to say thank you for your excellent video. I've done OOP before but I hadn't coded in years and decided to do an AI course and realized how much I needed a solid understanding of classes. As mentioned many times, this video is of the highest caliber. Thank you for your time and effort.

  • @favhwdg
    @favhwdg 4 ปีที่แล้ว +4

    I never understood this subject, this and pointers were the biggest hurdles for me, hopefully after I watch this I will understand it completely. Thank you tim

  • @noamloewen
    @noamloewen 4 ปีที่แล้ว +432

    I learned a lot from you, thanks! Can you upload more of the "Advanced Python" videos ? They're great and we'd love more!

    • @TechWithTim
      @TechWithTim  4 ปีที่แล้ว +75

      Maybe!!

    • @migueldomingos4570
      @migueldomingos4570 4 ปีที่แล้ว +6

      @@TechWithTim Wha projects are you developing?

    • @drop_messages6226
      @drop_messages6226 4 ปีที่แล้ว +10

      Have you checked out his new video on making a space invaders game. It may not be exactly what you had in mind, but making games is a great thing to have in your portfolio

    • @ruelvelarde5912
      @ruelvelarde5912 4 ปีที่แล้ว +2

      Yes I love this video so much!

    • @jananni123456789
      @jananni123456789 4 ปีที่แล้ว +3

      @@TechWithTim You're a really good teacher :)

  • @danielgill797
    @danielgill797 3 ปีที่แล้ว +5

    I’ve been playing with Python for years but never really got my head round OPP, some of it yes but not enough to actually use it. Your video is amazing and makes a lot of sense. I can’t wait to start practicing. Thank you so much!

  • @gonzaloflores6700
    @gonzaloflores6700 2 ปีที่แล้ว

    I spent 3 days reading and trying to understand OOP , you just clarify everything , thanks

  • @mxbtc
    @mxbtc 2 หลายเดือนก่อน

    Honestly man gotta say that this really helped me have a clear idea about what the hell was the "class" things i was constantly seeing on yt videos of people doing projects in python. Thanks man!

  • @fernabianer1898
    @fernabianer1898 2 ปีที่แล้ว +6

    Your introduction is so well done! I only did a 6 week basic course about Python and OOP wasn't included. You're doing such a good job explaining it.. I think this is the fastest I have ever subscribed to a chanel. Keep it up Tim!

  • @azr6767
    @azr6767 3 ปีที่แล้ว +4

    Dude this is genuinely such an amazing tutorial. You don’t bombard us with unnecessary technical jargon and you keep things simple. Love and respect from the U.K.

    • @aammssaamm
      @aammssaamm 3 ปีที่แล้ว

      Simple and incorrect.

    • @狐-u2i
      @狐-u2i 3 ปีที่แล้ว

      @@aammssaamm Funny that you can't prove it

    • @aammssaamm
      @aammssaamm 3 ปีที่แล้ว

      @@狐-u2i Should I? 😂😂

    • @狐-u2i
      @狐-u2i 3 ปีที่แล้ว

      @@aammssaamm If you can't then no. But if you can then its your choice, I'll hear you out.

    • @aammssaamm
      @aammssaamm 3 ปีที่แล้ว

      @@狐-u2i Ctrl+F 😂

  • @michaelperryman57
    @michaelperryman57 3 ปีที่แล้ว +5

    Programming since 1978. Now 72 years old. This is the first time that object-orientated programming has made sense. Many thanks

  • @buckyswider1
    @buckyswider1 3 ปีที่แล้ว

    Thank you Tim! I'm an old school programmer- System 370 Assembler, COBOL, myriads of scripting languages..loads of top-down stuff. .I took a week-long JAVA course a while ago put on by none other than Sun Microsystem and they proceeded to confuse me so much that I STILL didn't "get" OOP. But in 53 minutes, you've made me understand! Thanks! Thanks! Thanks!

  • @Cryp2nalist
    @Cryp2nalist ปีที่แล้ว

    I was stuck on this subject in another platform because I couldn't comprehend what was being taught, then I came across your channel. Honestly I couldn't be happier. This is one of the best tutorials on TH-cam when it comes to OOP. Thanks for clearing things up.

  • @leopuerto8039
    @leopuerto8039 4 ปีที่แล้ว +41

    you should be a college professor. This is so clear and smooth

    • @aammssaamm
      @aammssaamm 4 ปีที่แล้ว

      He has a lack of data architecture knowledge. College professors normally go through college first :)

    • @arthurbttf
      @arthurbttf 4 ปีที่แล้ว +3

      A shame there isn't more professors like this guy. There is a lab professor in my college that mocks whoever doesn't fully understand c++ or that has many questions or has troubles completing the challenges..

    • @xfire3778
      @xfire3778 4 ปีที่แล้ว

      Don’t know of any professors who are in their twenties, but go off I guess

    • @sharmishthabapuli8673
      @sharmishthabapuli8673 3 ปีที่แล้ว +1

      @@aammssaamm data architecture knowledge???
      That's a term used in Big data and Data science field. This has no use with OOP.

    • @狐-u2i
      @狐-u2i 3 ปีที่แล้ว +7

      @@aammssaamm I laughed pretty hard when I saw this comment, you must have missed the "OOP for BEGINERS" part. Then somehow was able to deduce that he has no knowledge of "DATA ARCHITECTURE" based on an hour long video going over very basic uses of OOP. Okay mate, seems like all that university and math's you were going on about didn't teach you common sense haha.

  • @barnabykent6698
    @barnabykent6698 2 ปีที่แล้ว +11

    Absolutely brilliant lesson for high content to background noise ratio. This video has made for a really educational and enjoyable code-along morning. Thank you!

  • @AlI-xy9jx
    @AlI-xy9jx 2 ปีที่แล้ว +7

    Super easy to understand, all the other youtube videos were hard to understand but your's was perfect. Thank you so much

  • @tradersblankers2931
    @tradersblankers2931 2 ปีที่แล้ว +2

    I was doing a final project, I wanted to use a class but they didn't teach us how to, this video is great at showing us what and how to OOP! I understood so little before this video, and by the end, I can safely say, I understand it far greater.

  • @elondoriafa9883
    @elondoriafa9883 4 ปีที่แล้ว +12

    Amazing, really clear and so thorough. It was almost difficult which is why I was excited to keep watching and rewinding and yet so simple 👍🏽

  • @dermakku
    @dermakku 4 ปีที่แล้ว +576

    I love how the cat "Bill" is 34 years old. Never have seen such an old cat

    • @7623690
      @7623690 4 ปีที่แล้ว +52

      The oldest cat known actually lived for 38 years.

    • @goatinahat5208
      @goatinahat5208 3 ปีที่แล้ว +9

      I mean cats can get pretty old, but there was a dog that was like 34 I think lmao

    • @jb_lofi
      @jb_lofi 3 ปีที่แล้ว +7

      ... Is that in cat years?
      Is that a thing?!

    • @АдильСагенгалиев
      @АдильСагенгалиев 3 ปีที่แล้ว +1

      🤣🤣🤣🤣

    • @mrjohndoe263
      @mrjohndoe263 3 ปีที่แล้ว +2

      Ever heard of cat years?

  • @saraths7473
    @saraths7473 4 ปีที่แล้ว +817

    This channel must be named as "PAID CODING SCHOOL DESTROYER".

    • @zxuss7084
      @zxuss7084 4 ปีที่แล้ว +27

      @D Cam He's teaching us A LOT ( + with great explanation )

    • @aammssaamm
      @aammssaamm 4 ปีที่แล้ว +8

      Not so soon. Lack of experience in real projects can hardly compete with experienced teachers and proper professional culture.

    • @stormtorch
      @stormtorch 4 ปีที่แล้ว +68

      @@aammssaamm Can we just be grateful that we can get thorough programming lessons for FREE? Sure, Tim isn't perfect but his tutorials are very useful and in some cases, actually does better than your so called "experienced teachers"

    • @ruelvelarde5912
      @ruelvelarde5912 4 ปีที่แล้ว +12

      @@stormtorch
      So TRUE. I learned many things from this video. I love this.

    • @aammssaamm
      @aammssaamm 4 ปีที่แล้ว +3

      @@stormtorch He teaches wrong things which will cost you a lot in a long run.

  • @haidar_belajar6101
    @haidar_belajar6101 3 ปีที่แล้ว

    What I like about Tim's explanation is that he doesn't start his explanation with terms that are difficult to understand, thanks a lot Tim, god bless you

  • @NothingButFactsToday
    @NothingButFactsToday 2 ปีที่แล้ว

    After 10 minutes of watching, I am amazed at this great mind. Truly a hero. Thanks for this.

  • @Donnyq22
    @Donnyq22 4 ปีที่แล้ว +5

    Dude - I love your videos. Thank you so much for doing this. Your ability to explain concepts is the best on TH-cam. Thank you!

  • @snsa_kscc
    @snsa_kscc 4 ปีที่แล้ว +52

    Says naming convention for classes is camelCase, when he should say PascalCase. Jokes aside, great content Tim, thanks a ton, just sharing this so we all could be smarter. Stay safe, much love

  • @richardmeyer418
    @richardmeyer418 2 ปีที่แล้ว +3

    Thank you for this lesson. I haven't really used any OOP (knowingly) in Python before, but I have done a few courses in C# and Java, and I can really say your explanation of objects has been brilliant.

  • @TheAlphaWolfMan
    @TheAlphaWolfMan 7 หลายเดือนก่อน +1

    THANK YOU! THANK YOU! THANK YOU! Very well explained and this was just what I needed to truly understand classes within python.

  • @call_me_mechanic
    @call_me_mechanic 2 ปีที่แล้ว +2

    I rarely comment on TH-cam.
    This video made me leave an appreciation comment for Tim. You are a great teacher. You explained everything like a primary teacher explaining alphabets. I have an udemy course on OOP. But, when I find this video, I haven't opened Udemy. Thankyou so much for awesome tutorials. I appreciate your efforts.

  • @TopBagon
    @TopBagon 4 ปีที่แล้ว +29

    Ayee perfect timing ^^ I'm having hard time with OOP but I'm pretty sure I'll be able to understand quite a lot from you. Thanks a lot for posting this

  • @plesinsky
    @plesinsky 4 ปีที่แล้ว +9

    Finally an actually great video with in-depth and simple explanation, that's what I call quality content. The video made it much easier for me to understand the basics of OOP, also I'm not afraid of it anymore. Thank you again

    • @aammssaamm
      @aammssaamm 3 ปีที่แล้ว

      It teaches you wrong stuff

  • @zakariaabdisalam1728
    @zakariaabdisalam1728 4 ปีที่แล้ว +11

    For those with Machine Learning backend a good example can be how you do:
    model = Sequential()
    model.add(....)

  • @Psychopatz
    @Psychopatz 3 ปีที่แล้ว

    I love the way you verbosely explains the inner workings of code even in its low level, it makes me understand more.

  • @clarencewashington7881
    @clarencewashington7881 ปีที่แล้ว

    Two year old class or explanation done simply. I took several singular classes dealing with in python "OOP" . Sort of got it but not really. Cleared the confusion for me. Thanks

  • @joshpark1
    @joshpark1 4 ปีที่แล้ว +4

    Tim, last few weeks I’ve been going through the basics, and this tutorial has really gotten me excited for what can be done and made. Appreciate the time and effort you made into making this video. You got my Subscribe for sure

  • @RetainTheDark
    @RetainTheDark 4 ปีที่แล้ว +10

    Your teaching clicked so well with me. I never thought I'd enjoy learning OOPS so much. Are there going to be more videos on OOPS?

  • @ricardotijerina886
    @ricardotijerina886 4 ปีที่แล้ว +6

    0:44 into the video and i must say "Thank you" for the font size.. Well done mate.

  • @TaifPatwary
    @TaifPatwary 2 ปีที่แล้ว +2

    Hands down the best example so far on OOP In Python.

  • @dougduker2681
    @dougduker2681 3 หลายเดือนก่อน

    Wow!! Bravo. Tim, you are gifted with a rare skill of knowing how, making it relevant, and keeping it concise. Your videos are exactly what people need to be through-enough and not waste time. Plus, clarifying things that aren't obvious (like the necessity and role of 'self'). I am grateful for you spending your time and talents to share this with the world!!

  • @JamesPearson
    @JamesPearson 2 ปีที่แล้ว +6

    Really fantastic, you have a gift of explaining things very well, especially for someone so young. Thank you for your efforts in producing these videos!

  • @superspyjim
    @superspyjim 4 ปีที่แล้ว +33

    'here is an old dog, here is a young one'
    bro if Tim reached 34 years old he's gona be breaking some doggo world records...

  • @developerinsider
    @developerinsider 4 ปีที่แล้ว +12

    Thanks you for ur python and ML course, I learned lot of things, so pls do more videos in ML

  • @humdrumsnail1036
    @humdrumsnail1036 11 หลายเดือนก่อน

    Brilliant! U explained static and class methods in a way no other utuber could ever. After watching tons of utube videos on class and static methods I finally understood them

  • @The2378AlpacaMan
    @The2378AlpacaMan 3 ปีที่แล้ว

    This really clarified to me why oop matters and how to use the different aspects of it

  • @artoing
    @artoing 4 ปีที่แล้ว +4

    I literally never saw before one cat with 34 years old. It's a miracle!

  • @snorky4506
    @snorky4506 4 ปีที่แล้ว +45

    Jill did pretty well considering she wasn't allowed to take the course.

  • @FullRamenAlch3mist
    @FullRamenAlch3mist 4 ปีที่แล้ว +60

    The real question is, what kind of mad man would ever name their dogs Tim or Bill?

  • @milfordjohnson2289
    @milfordjohnson2289 5 หลายเดือนก่อน

    this was the best video i have ever seen in my entire life. the audio, the presentation, the detail, the cross referencing of subjects. absolutely marvellous :)

  • @adel-a
    @adel-a 2 ปีที่แล้ว +2

    Thanks a lot for this video. I learned what I was trying to learn from reading many obscure books.
    I like the way you focused on beginners and didn't dive too deep when explaining each concept, before going into details a beginner doesn't need for the moment.

  • @chinmaymungilwar6927
    @chinmaymungilwar6927 4 ปีที่แล้ว +5

    Plz plz plz complete the multithreading tutorial. Thank you in advance.

  • @MarsLanding91
    @MarsLanding91 4 ปีที่แล้ว +4

    Excellent tutorial, Tim - thank you!
    Do you have any recommendations on what we can work on to improve our understanding of OOP?

  • @TrueHey
    @TrueHey 2 ปีที่แล้ว +7

    Don't try to hide the Python in OOP

  • @NaJoeLibre
    @NaJoeLibre ปีที่แล้ว

    Wayyyyy more confident in using classes now! If you can master classes you can really think about the world programmatically!

  • @muhtasimbari8951
    @muhtasimbari8951 2 ปีที่แล้ว

    I wish I could help you out somehow, but right now I can't afford it to. I can't explain how helpful this has been. You are an amazing teacher.

  • @Prasad-ny7ff
    @Prasad-ny7ff 4 ปีที่แล้ว +16

    That's what I wanted 🔥🔥🔥

  • @sheez-5486
    @sheez-5486 3 ปีที่แล้ว +4

    Udemy: -Drake No*
    Tech With Tim: -Drake Yes*

  • @a.yashwanth
    @a.yashwanth 4 ปีที่แล้ว +8

    Your explanation reminds me of Corey Schafer.

    • @vs4333
      @vs4333 4 ปีที่แล้ว

      Corey Schafer + Mosh Hamedani :P

    • @expat2010
      @expat2010 4 ปีที่แล้ว

      That is kind of a left handed compliment. At least you could have said Corey reminds you of Tim! LOL.
      They are both good, but have different styles. On Python OOP, having watched both, I give Tim the edge. I definitely got more out of this one than Corey's. Tim skips over the more technical stuff like __init__ and then comes back to it. This allows for us novices to follow the logic of the def easier. With Corey you have to slog through that right from the beginning and I found myself getting bogged down.

  • @jonastoftdalkonarski7533
    @jonastoftdalkonarski7533 ปีที่แล้ว

    I finally understand classes after this video. I’ve watched so many and didn’t understand
    Thank you!

  • @lele7216
    @lele7216 2 ปีที่แล้ว

    Best OOP video for beginners. I have worked with python before but not until I watched this video have I understood OOP so thank you.

  • @ARoundThing
    @ARoundThing 4 ปีที่แล้ว +9

    I am making my own Spotify in python.

    • @migueldomingos4570
      @migueldomingos4570 4 ปีที่แล้ว

      What framework are you using for frontend and backend?

    • @dipanshusingh6329
      @dipanshusingh6329 4 ปีที่แล้ว

      Dude don't kivy is a pain in the ass
      It not well developed and other things . Learn java
      Python isn't the ideal language needed for app development

    • @teodordimitrov3537
      @teodordimitrov3537 4 ปีที่แล้ว

      @@dipanshusingh6329 I've just started learning Java, it's a cool language but it's huge compared to Python

  • @madukomablessed4712
    @madukomablessed4712 4 ปีที่แล้ว +6

    Hey Tim, great content bro. I'd love to be a better programmer lol

  • @martinle855
    @martinle855 ปีที่แล้ว +7

    Great video Tim! Thank you so much!

  • @Grungydan
    @Grungydan 2 ปีที่แล้ว

    I have struggled to "get" OOP in the past, and this video was fantastically helpful. Thanks!

  • @user9522Truth
    @user9522Truth หลายเดือนก่อน

    Very recommended for the beginners who trying to understands about the concept of OOP in Python. thank you for this tutorial.

  • @nick8144
    @nick8144 ปีที่แล้ว +4

    Only in programming tutorials you will find a 34 year old cat named Bill