Python Object Oriented Programming in 10 minutes 🐍

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

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

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

    Learn the basics of POOP in 10 minutes!
    #-----------------------------------------------------------------
    from Car import Car
    car_1 = Car("Chevy","Corvette",2021,"blue")
    car_2 = Car("Ford","Mustang",2022,"red")
    car_1.drive()
    car_2.stop()
    #-----------------------------------------------------------------
    class Car:
    def __init__(self,make,model,year,color):
    self.make = make
    self.model = model
    self.year = year
    self.color = color
    def drive(self):
    print("This "+self.model+" is driving")
    def stop(self):
    print("This "+self.model+" is stopped")
    #-----------------------------------------------------------------

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

      "POOP"

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

      The French acronym is literally "POO" 💩

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

      Hi bro

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

      if python object oriented programming had a color it would be brown XD

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

      Thank you bro❤❤❤❤❤

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

    I have watched so many videos about OOP but every video was headache for me because those were so confusing but this is one of the best video about OOP, Thank You so much :)

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

      Bro I taught I was the only one who taught that lol XD. He explained it so easily in 10 mins compared to tech with tim in 75 mins.

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

      i felt the same

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

      Same, I tried learning Java maybe 20yr ago as a kid, couldn’t do it, OOP was too abstract

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

      SAME. This fits perfect for my assignment that im struggling on. So helpful

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

      @@popupanimations1857 tech with tim sucks!

  • @rickmarek2588
    @rickmarek2588 11 หลายเดือนก่อน +32

    I'm 71 year-old, very retired as I write this comment. I cut my teeth on procedural languages (e.g., Assembly Language, Cobol, Fortran, PL/1, and a couple dozen database management products on micro, mid-tier, and mainframe platforms. Object-oriented programming back then was mostly "conceptual" (with the significant exception of SmallTalk). I plunged into AI and expert system programming with Prolog (and a bit of Lisp) which had some similar concepts and language constructs. I found this video most helpful in helping me better understand the "object dot" item, but I'm not in Kansas anymore. I had decades of programming where writing tight and complete code was the objective; Python code development doesn't seem to focus on the finer details that separated the average programmers from the revered technicians. I'm sure I'll change my tune as I actually begin developing the applications that I have in mind. Thank you for the helpful introductory video. I'll keep an eye out for your other TH-cam ventures into the land of Python.

    • @ABQ1247
      @ABQ1247 11 หลายเดือนก่อน +1

      Wow

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

      Oh 71 years old ❤️ good to know

    • @nitinmore8255
      @nitinmore8255 26 วันที่ผ่านมา

      Thats inspiring for me running 60

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

    If you’re new to OOP, start with this video. It summarises what you need to know in 10 minutes and makes sense. I’ve seen a few others and they’re confusing so don’t bother. Start with this!

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

    Easily the most understandable and user friendly video out there. Easy to comprehend examples and a short and sweet video that makes sure to touch all bases. Good job!

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

    Man you are a real gem, I've searching a lot of tutorials and getting 2-3 hours long ones I just need the basic as I already knew JAVA and CPP, I found your video. It was superb and right to the point.

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

    Taught me more in 10 minutes than my professor has in two months

    • @sara-zv5pb
      @sara-zv5pb ปีที่แล้ว

      ong

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

      Yup, same same. Congrats for the video @bro

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

      😂

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

      My prof tried to teach me python for almost 2 years now and this bro taught me more in 10 mins

    • @Chandra-sv2qe
      @Chandra-sv2qe 5 หลายเดือนก่อน

      our prof taught it in half a day and we are expected to write a test tmrw I understood shit cooked fr

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

    You only spend a second on it, but the fact that you explained the (self) concept clearly is why your video is better than all the others I've watched so far.

  • @classytong2485
    @classytong2485 8 หลายเดือนก่อน +2

    Very easy to understand lecture on OOP. Agree this is the best video on OOP I have watched on TH-cam

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

    I was avoiding this topic like the plague! But, thanks to this video, I finally understand how POOP works. Thanks, Bro!

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

    Unbelievably straight forward, surely gonna be watching your other videos soon. Thanks for the great work!

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

    Usually short vids don't have a lot of the information but you like blown my mind when you explained it BROOOO!
    Plus you made me want to create one! Thanks for teaching this, def a sub!

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

    Excellent video. Concise and fast. Perfect for reviewing this topic (after so many years without coding) and probably for someone that wants to see how easy it is to make a POOP =)

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

      This dude explained OOP better than chatGPT💀

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

    nah, bro, its crazy how a 10 minute vid can teach more than 3 hours at my uni. amazing video dude!

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

    never understood the self method cause i didnt get anyone explain it that good as you did, straight to the point for dummies, best teacher

  • @Lil-Freedom
    @Lil-Freedom ปีที่แล้ว +3

    You simplified this perfectly. No BS explanation and I am here for it, after spending too much time learning this through over complicated means.

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

    Finally someone who can explain it to normal people. Thank you👍🏾

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

      the problem is that everyone tries to explain it like you are an idiot that can't understand abstract concepts, so they overcomplicate it.

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

      @@gymnodinium9 ikr

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

    This was such an easy way to understand as some who just started coding a few days ago. Thank you!

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

    Hey! I just found your channel and subscribed, love what you're doing! Particularly, I like how clear and detailed your explanations are as well as the depth of knowledge you have surrounding the topic! Since I run a tech education channel as well, I love to see fellow Content Creators sharing, educating, and inspiring a large global audience. I wish you the best of luck on your TH-cam Journey and can't wait to watch your next upload. Cheers, happy holidays, and keep up the great work :)

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

    Straight to the point. Really clear. Thx :)

  • @DanHerod
    @DanHerod 16 วันที่ผ่านมา

    Thank you! I was a programmer in the 80's and 90's but OOP was more or less in it's infancy and I just never learned it. I then left the computer field to teach high school math & physics and now find myself having the great opportunity to teach Python programming. I'm loving life - but I also don't want to just teach the sequential programming of my youth. This video helped me a lot!

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

    YOU KILLED IT!! GREAT STEP BY STEP BREAK DOWN.... THANK YOU

  • @CoreDump451
    @CoreDump451 28 วันที่ผ่านมา

    Thank you so much! As someone who has a lot of experience in Java, but wanted to learn Python without going through all the "python for beginners" tutorials, this video is perfect. Now I can start working on a project immediately and just learn what else I need as I go along.
    There are still a lot of stuff I need to learn, such as interfaces, inheritance, access modifiers, etc, but this video gave me a solid base! :D

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

    Brillant, Concise, Comprehensive, Simplified
    Thats the exact definition of this video.
    Thank you so much!

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

    great explanation man. the simplicity of which you explain it has given me some confidence to go and implement it myself!

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

    This is one of the best tutorials on oop I've seen. Everything is clear and makes sense. Liked and subscribed.

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

    I got more understanding about OOP from this than any OOP material I've come across in the last two years. Thanks.

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

    I can't tell you how much I've stressed over my project for class, only to stop by here and have that eureka moment.
    Thank you so much.

  • @tancrediloprestipiccolo7761
    @tancrediloprestipiccolo7761 5 หลายเดือนก่อน +1

    You're great, you made me code again in a difficult moment. I will follow your videos from now on!

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

    Finally someone who’s not copying from Mosh. I appreciate the originality Bro Code. I must say, using cars as an example instead of pets was very helpful to me, and I can actually understand and hear much better from a video without an accident 👍🏽

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

    As someone who knew what OOP was but forgot bits and pieces about it, this video was great for relearning and revising OOP

  • @MrPK-en6nv
    @MrPK-en6nv 3 ปีที่แล้ว +2

    This is one of the best videos for Python OOP. Thanks gentleman!

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

    bro i watched a 60 minute video and couldnt understand a thing u with just a 10 minute vid only and helped me more than anything, thank you so much.

  • @Ali-dx2ns
    @Ali-dx2ns 2 ปีที่แล้ว +1

    Thank's so much bro 10 minute wow every opp tut is over1 hour you are the best on TH-cam !^_^

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

    Crazy. My Python course is in swedish and I'm swedish. I've had trouble grasping everything until I saw this 10 min video in english describing it. I guess growing up with the internet being primarily in english (late -90s early 2000) left its mark. Thank you Bro Code!

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

    We are literally 9 minutes and 59 seconds away from realising the part in the original Matrix film where neo closed his eyes and shook for 5 seconds and said "i know kung fu" 😂 i shook for 10mins but i still got to learn object orientated programming 😂 your the best bro. Salute to you.

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

    I love u , everyone that explains OOP complicate everything, you make it so simple , ty :D

  • @DurlabhBiswas-x2s
    @DurlabhBiswas-x2s 6 หลายเดือนก่อน

    THANK YOU FOR BRINGING THIS 3 YEARS BACK!

  • @Kimberly-zz4te
    @Kimberly-zz4te ปีที่แล้ว

    I'm new to programming and your videos are helping out in ways a book can't really do. THANKS!!!!!!!!!!!!!!!!!

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

    This is a great tutorial for someone to get a quick idea about oop. I suggest following along with the exercise.

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

    I'm currently trying to get through my cs class and my professor is good, but your videos were able to clear up a bunch of questions I had about creating classes. Thank you for the video!

  • @JesusHernandez-dh1mo
    @JesusHernandez-dh1mo 2 ปีที่แล้ว

    I started with your java course in this channel and... You still giving me the answers when I dont get something working. Magic

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

    Best introduction to Python Object Oriented Programming for beginners. You saved me a lot of time.

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

    SIR! after 4 years of coding. I came across this video just to see how much info can fit in 10 minutes, and OMG this is a masterpiece!

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

    This had made the most sense to me so far. I subscribed mostly because you chose a Corvette as the car!

  • @obazeeghosa
    @obazeeghosa 5 หลายเดือนก่อน +1

    Excellent on delivery of complex topic in very simple and direct way. This Python Object Oriented Programming (POOP) Simplified. Thanks.

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

    I have been trying to get my brain around Classes for a little while now. This is the easiest explanation that I have found so far. Thank you very much.

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

    So many other comments are already saying it, but it is true, a very clear and straightforward explanation of classes and methods. Great video.

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

    Great video, great instructor, great examples! I struggled with the "self" keyword in the methods, but this helped @ 8:00 with how you explained it bluntly (self is referenced to car1). Thank you for that.

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

      👌

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

    8:17 u could also use a formatted string here, it’s more convenient imo

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

    Thanks, as someone who already knows how to program, I appreciate how fast you went through syntax (which is really all im looking for)

  • @KarenOliv-e5o
    @KarenOliv-e5o 4 หลายเดือนก่อน

    Thank you!!! I have watched several videos before this one, but just now I have a clear idea of OOP.

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

    Thank you! Awesome video!
    This is actually my 2nd or 3rd time watching it. The first couple times i really wasnt ready to process te information. Now, after some time stiudying the basics I'm able to get a much better grasp.
    Let my mistake be a lesson to us all. Take your time and start from the beginning!
    God bless y'all

  • @mellgomezh
    @mellgomezh 28 วันที่ผ่านมา

    Super easy to understand with your way of explaining and changing things around so we understand how they work. Thanks!

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

    Bro's voice is soothing and smooth, good for listening a long time without getting agitated.....

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

    Love you bro!
    You make these instructions so easy im able to engage more than other videos your one of the great youtubers

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

    Short and precise, just what I was looking for. Thanks :)

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

    Ur literally helping me get through my intro to programming class. Thank You!

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

    you saved my life

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

    That's the best POOP video I've seen on the internet. Thank you for sharing.

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

      😂 wooah so you like POOP videos huh!

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

    I’ve been trying to better understand OOP and this video is a life saver!!

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

    this was the first time I felt like I need to watch another tutorial as well to fully understand BroCode tutorial, then I watched this one again and understood it fully. BTW, you are great Bro😍

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

    you are a very good teacher , i see people that are not able to pick a example for an object. I hope that your channel cover more serious and complex stuff that well too. thanx for the effort

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

    Bro, thank you so much for this video. I've just begum my programming proccess and I always find myself comming back to this video while working on my personal projects. Thak you so SO much

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

      OOP doesn't make much sense unless you have an architect and a programming team. It's hardly useful for "personal projects".

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

    Literally shat one out while you put POOP up there.
    Blessing from the gods.

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

    Thank you soldier , you're a life-saver

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

    Bro, this is one of the easiest to understand and to the point for this foundational topic on TH-cam. Thank you Bro! ;-)

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

    This is the best video for OOP. You made it so easy to understand. Thanks bro!

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

    OOP now is a lil bit clearer. Thank you, brother.

  • @King.Aligator
    @King.Aligator 3 ปีที่แล้ว +2

    Thanks you! The most simplified explaining of OOP...

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

    Bro explained it clearly ,best video for OOPS🙌

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

    Thanks bro i really appreciate, been stuck on oop for some days on my course and every other video seemed to make it even harder to understand. But yours finally helped me out, u just earned a new loyal subscriber

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

    Exactly what I needed, short and concise just to get familiar with the syntax, thank u!!!!

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

    Dear BroCode, thanks for covering Python oop vids. Loving your channel since 2021!

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

    Seeing the acronym POOP I already know this will be good shi* hahaha
    But seriously, I've watched other explanations here on youtube and they seem to always assume that I already know words like object, attributes, method, and all that stuff while at the same time putting "for beginners" in their title. Even if they explain it, they will just say the definition and the sample code and I'm still confused.
    But you just solved all my confusions from other videos in like a couple of seconds by telling me the examples around you and just like that I already know what it means. You really are a bro, bro. ❤

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

    You really have a knack for teaching. This is great stuff!

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

    10min video made this subject way easier to understand than the 3, 1 hour long videos I've watched

  • @Anmolsingh-im3hq
    @Anmolsingh-im3hq 10 หลายเดือนก่อน +1

    With a little bit of practice i think i might be able to do this thank you so much bro

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

    One of the best OOP tutorials fr.

  • @IsmaelBakali-w2j
    @IsmaelBakali-w2j ปีที่แล้ว

    Ismael Bakali from morocco. this videos are relly the best. they helped me to learn faster.. thinks .

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

    Thank you, Bro Code. Your video is the best video I've seen about Object-Oriented Programming (OOP) in Python. Your explanation made everything clear and helped me understand all the concepts I had in mind.

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

    The only OOPs tutorial which actually makes sense.

  • @prajancodes2781
    @prajancodes2781 5 หลายเดือนก่อน +1

    You're doing great! Keep inspiring us Bro!

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

    Very Good tutorial! Helps a lot! I am not into OOP up until now. Thanks fot the video man! We really apprecciate it!

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

    Thank you for making this video I now know enough to answer some interview questions about OOP, and I can't wait to learn more.

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

    Love you "Bro" you are the only Teacher on TH-cam...

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

    A lot of videos about python topics stretch into the hour-long mark and are a headache to get through. Been struggling the last couple of days to get a handle on OOP in Python, but this video gave me a real foundational understanding of it which should help me learn a ton.

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

    You are a rare gem my friend. Keep up the best work!

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

    I have had tried multiple videos till sanity ! But his guy helped me with a 10 min gem content .

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

    I was having such a difficult time with oop so this was extremely helpful. Thanks a ton wish u all the best

  • @dragon_xy3742
    @dragon_xy3742 5 หลายเดือนก่อน +1

    let's goooo , I understand everything thanks bro !!

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

    Bro, Your explanations are vivid. You're a great teacher

  • @aryantripathi-q5r
    @aryantripathi-q5r 9 หลายเดือนก่อน +2

    Thanks for teaching me how to do POOP :)

  • @mr.z7124
    @mr.z7124 2 ปีที่แล้ว

    best explanation all the other videos explain less in an hr . good shit

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

    thank u broCode.🙂
    your video was v v v helpfull .
    i know javascript and watching your 10 mints video on oop python boost my confidence and save me atleast 2 hrs. because if u search oop in python all results r like 1hrs long thanks.

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

    Perfect video, no fluff pure gem

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

    This is by far the simplest OOPs lesson I've ever watched. Thanks Big BRO!!

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

    Awesome video, bro!

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

    I never thought I’d have so much fun learning about poop. You never cease to amaze me, Bro Code 💪❤️

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

    This video really helped me understand Classes, objects, attributes and methods along with the init methods.