Python Classes and Objects || Python Tutorial || Learn Python Programming

Поділитися
Вставка
  • Опубліковано 22 лис 2024

КОМЕНТАРІ • 1,1 тис.

  • @Socratica
    @Socratica  2 роки тому +22

    Wear a Socratica Python shirt for good luck coding: shop.socratica.com/products/python-by-socratica

  • @jammy2003
    @jammy2003 6 років тому +948

    Watching these videos make me feel like, I'm an FBI agent and my supervisor is directing to me a deadly mission. Really enjoy the videos!

    • @lekanadenusi462
      @lekanadenusi462 5 років тому +9

      Exactly! I love it

    • @wintrover
      @wintrover 4 роки тому +7

      feels like being hitman

    • @seriousbusiness2293
      @seriousbusiness2293 4 роки тому +20

      Your phone will destroy itself after the message. Good luck agent Py.

    • @jbi1839
      @jbi1839 4 роки тому +3

      this video make MI movies look like sesame street.

    • @7own878
      @7own878 4 роки тому +2

      Gotta overthrow this modern "class"-system

  • @Socratica
    @Socratica  5 років тому +300

    It's official! The Socratica Python Kickstarter was a success! Thank you to all of our supporters. Because of you, many more Python videos coming soon!! 💜🦉

    • @martijnnvt6949
      @martijnnvt6949 5 років тому +3

      That's some great news!

    • @yanamadalaharishkumar5041
      @yanamadalaharishkumar5041 5 років тому

      pls elaborate videos, need more content :-)

    • @anujkondhalkar9776
      @anujkondhalkar9776 4 роки тому

      But I don't know why every video have too much time gap. If some one want to complete the whole course , how can he? Because your content is absolutely amazing . All you need to do is to upload all video at same time. Thank You so much.

    • @kianaarabpour
      @kianaarabpour 4 роки тому

      PRAISE JESUS THANK U

    • @malaquiascaxingue3105
      @malaquiascaxingue3105 4 роки тому +1

      Thanks !!! for this vídeos

  • @tenou213
    @tenou213 6 років тому +438

    Avoiding uncomfortable stares from peers is my priority in life.

    • @rajab4187
      @rajab4187 5 років тому +1

      Absolutely😂😂😂

    • @garyr1639
      @garyr1639 4 роки тому +6

      However, if my peers looked like the narrator then I wouldn't mind! :)

    • @PersistentProgrammer
      @PersistentProgrammer 4 роки тому +1

      hahahahaahahah

    • @abdullahm..2303
      @abdullahm..2303 4 роки тому +1

      hahahahaha

    • @angelramosexperience8698
      @angelramosexperience8698 4 роки тому +1

      I think I will start a new trend called FYP = F*** Your Peer's I might not want them to understand my top secret code/program/App lol

  • @satonice7059
    @satonice7059 5 років тому +516

    This is how knowledge should be spread.
    It feels professional, futuristic, fun and really soothing.
    Well structured and easy to understand. Great video :)

    • @pkminime
      @pkminime 4 роки тому +2

      Funny too :)

    • @vedatporikli7417
      @vedatporikli7417 2 роки тому

      WHATS AN OBJECT

    • @Ceez747
      @Ceez747 2 роки тому

      Never thought I could be so attracted to an AI.. she's so smart ( :

    • @JustAn0therSoul
      @JustAn0therSoul 2 роки тому

      @@vedatporikli7417 an instance of a class - 1:33 and 3:15

  • @paulyXvpf
    @paulyXvpf 6 років тому +142

    I love these Socratica videos. I'm so buried in long winded Python text books I don't even know which way is up or down. Socratica can take a topic like "Classes and Objects" and boil it down into a 10 minute video. Socratica is a great booster shot.

    • @luxraider5384
      @luxraider5384 4 роки тому +2

      you can't forever rely on youtube videos to learn useful and valuable skills

    • @shadowkyber2510
      @shadowkyber2510 2 роки тому +4

      @@luxraider5384 that's why you learn through multiple sources, which he was. Maybe you're better at taking in written information but heaps of people aren't which is where these videos help

    • @proggenius2024
      @proggenius2024 Рік тому

      yeah true, but you cannot overlook the importance of books too. Maybe the videos help you to understand the books in depth. But it's is the books which have a lot of information than any of videos. The videos are just the tip of the iceberg, even assuming a specific topic.

    • @Stella2U
      @Stella2U Рік тому

      ​@@luxraider5384 sure you can.

  • @TheHelvetican
    @TheHelvetican 7 років тому +191

    Your videos are truly in a class by themselves. The info is clearly and unambiguously presented.

  • @masqueradinglampshade4369
    @masqueradinglampshade4369 3 роки тому +3

    "Even if you are writing code only for yourself, it is a good habit to write a doc string. You may have to use a Class years after you first wrote it. A few seconds of typing is worth hours of sanity down the line."
    Absolutely brilliant way of emphasizing how important comments and doc strings are in code. Never assume you will remember what you wrote or why you wrote it.

  • @ugowar
    @ugowar 4 роки тому +22

    As a slowly aging C designer, these are one of the most fun Python tutorials I've come across so far. The puns, the dry humor and the obvious love for science and SF by whoever the scenario writers are is just a bonus. Nice work!

    • @Socratica
      @Socratica  4 роки тому +4

      We're so glad you're enjoying them! We have so much fun making our videos. 💜🦉

    • @yash1152
      @yash1152 Рік тому

      what does dry humour and SF mean?

    • @samueloriola9417
      @samueloriola9417 Рік тому

      SF => Science Fiction @@yash1152

  • @Jbdoster
    @Jbdoster 6 років тому +164

    "I finally saw The Matrix today. It was the best documentary I've ever seen." Dying right now.

  • @skytale35
    @skytale35 4 роки тому +2

    I've been butting my head against the wall on classes for a while now, I have watched at least a dozen videos, read the python standard library. I've been able to "make it work" but it wasn't until i watched this and saw it stripped down to nothing but a "pass" command that i started to get it. I stayed up for 3 hours last night experimenting, and its thanks to you. You are a wonderful teacher.

  • @derricknjoroge2494
    @derricknjoroge2494 6 років тому +67

    Your lessons are amazing. You are helping many people especially aspiring developers from Africa. Cheers from Kenya

    • @Slm3lkm
      @Slm3lkm 5 років тому +2

      @@tomwilliam7299 ill trade you my citizenship if you have a good one haha

    • @lekanadenusi462
      @lekanadenusi462 5 років тому +1

      😂😂😂

  • @Socratica
    @Socratica  4 роки тому +72

    Welcome to Socratica! You can see our entire Python Playlist here: bit.ly/PythonSocratica
    Subscribe to see all our new videos! bit.ly/SocraticaSubscribe

    • @Mantikone
      @Mantikone 4 роки тому +2

      If I could date you, I would be happy.

    • @gauravnegi4312
      @gauravnegi4312 4 роки тому +3

      @@Mantikone what kind of comment is this oof

    • @somethingabouthumans2342
      @somethingabouthumans2342 4 роки тому +2

      I love classes with you, would you like to have a diner together ?

    • @obli8984
      @obli8984 3 роки тому

      superb practice make human 😀

  • @kevinfang4362
    @kevinfang4362 7 років тому +422

    the only dam video on youtube that actually explains classes and instances, thank u

  • @chemdah
    @chemdah 7 років тому +189

    Dave Bowman and Frank Poole were astonauts on Discovery One in the movie Space Odyssey.

    • @juileekulkarni5296
      @juileekulkarni5296 6 років тому +4

      Thanks for The so called Easter Eggs

    • @mihaililiev5932
      @mihaililiev5932 5 років тому

      Oh, thanks... Those two names sounded so familiar... lol

    • @elliotharris3965
      @elliotharris3965 5 років тому +1

      Arthur c Clarke is a science fiction writer and visionary. I'm a nobody, hi.

    • @lanavasilieva117
      @lanavasilieva117 4 роки тому

      I was looking for this exact comment, thank you Rob

    • @nirosugir1370
      @nirosugir1370 4 роки тому

      Another great documentary

  • @Socratica
    @Socratica  5 років тому +18

    We're glad you've found us! You can subscribe to Socratica here: bit.ly/SocraticaSubscribe
    To help us make videos faster, you can become our Patron! www.patreon.com/socratica

    • @coom07
      @coom07 5 років тому

      I have a classes with an instance full of love for u 😍💕

  • @llewellynhattingh3496
    @llewellynhattingh3496 4 роки тому +9

    This is the new world way of explaining! I love it!! You would think that you are more distracted by the method of teaching, but it consumes your attention and really works! Thanks so much for this creativity and implementation of what we all have seen in films, this time it applies to all of us

  • @akashp4863
    @akashp4863 4 роки тому +1

    My doubt got cleared in 1.5 mins.
    I've checked in every UA-cam channel that I rely on to study. I've only subscribed to channels that can clarify my confusions. And unfortunately no other channel cleared what I wanted, because they didn't even mention it. But you did.
    You're one refined channel.

  • @fiendsgaming7589
    @fiendsgaming7589 5 років тому +13

    Explained most important things in 10 mins, which what others can't do in 1 hour

  • @ghhdgjjfjjggj
    @ghhdgjjfjjggj Рік тому +1

    I just randomly found this channel, and this is the coolest, most creative way of teaching I have ever seen. It makes me feel like I am some kind of commander, and I am being briefed an important message by an AI named Socratica. Thank you, Socratica, for making these videos.

    • @Socratica
      @Socratica  Рік тому +1

      Welcome aboard, Commander! Glad you've joined us. 💜🦉

  • @dirkmcnasty8585
    @dirkmcnasty8585 5 років тому +7

    These videos are very helpful. They are informative but not boring, attention grabbing but not filled with fluff, and they hold just enough clever humor to spice up the presentation (0:40 "I finally saw the Matrix today. It was the best documentary I've ever seen." or the DocString for your user class 7:19 - """A member of FriendFace. For now we are only storing their name and birthday. But soon we will store an uncomfortable amount of user information""" - absolutely priceless!!!) Subscribed!

  • @donasaha1936
    @donasaha1936 Рік тому

    After seeing a lot of videos on python, objects n classes I wasn’t getting all my answers.. every video wasn’t satiating my doubts . Now man after watching this I really feel this is it.. ultimate vdo, most perfect n crystal clear explanation.No extra talk. So happy. It’s an art of teaching.

    • @Socratica
      @Socratica  Рік тому

      Thank you so much for your kind review! We're so glad you are finding our videos helpful. 💜🦉

  • @Orankai
    @Orankai 6 років тому +16

    I've watched a lot of programming videos and this is by far the highest quality series I've found. Thanks a lot and keep up the good work!

  • @josephgibbons1195
    @josephgibbons1195 6 років тому

    I have been teaching myself python for about a month(it is also my first programming language so I had to start with the very basics). A week ago I started classes and two days ago I gave up. I just didn't get what they ARE. Luckily this video was suggested to me here on UA-cam and I feel ready to give it another shot. Thank you.

  • @rujor
    @rujor 5 років тому +7

    I love it when correct naming conventions are encouraged 🤩!

  • @icodeint2780
    @icodeint2780 3 роки тому

    Finally someone that teach without derailing and non necessary nonsense. Thank you.

  • @akartaltepe
    @akartaltepe 7 років тому +202

    Excellent as always. Thank you for making these great videos. They are even more helpful than you might think.

  • @woodworkbasti
    @woodworkbasti 6 років тому +9

    oh my god sometimes I just love youtube, I feel blessed to be able to see so much effort and creativity packed into one video full of knowledge . Thank you, thank you, thank you :D

  • @stevehageman6785
    @stevehageman6785 2 роки тому +4

    Most of these 'theatrical' instructional videos are just distracting, but you folks have a really good 'formula'. Keep up the good work.

  • @chalkypj
    @chalkypj 4 роки тому +1

    The only video I have ever found that explains classes so that I can understand. Really love these videos thank you

  • @CarolinaNaka
    @CarolinaNaka 7 років тому +75

    Thank you very much! I've seen many tutorials about classes in Python and this one is one of the most helpful for me. Also I like your humor :) Can't wait for new Python lessons.

  • @DavidCastillaGil
    @DavidCastillaGil 2 роки тому

    Not even a minute into the video and I'm already sold. Great work!

  • @saeedbaig4249
    @saeedbaig4249 7 років тому +316

    "Classes are a fundamental tool in any respectable programming language."
    Cough,cough cough

    • @MyTube4Utoo
      @MyTube4Utoo 7 років тому +51

      +Saeed Baig haha I what you did there. ;-)

    • @yousuffarhan963
      @yousuffarhan963 7 років тому +29

      Hence, C++ exists.

    • @paraglide01
      @paraglide01 6 років тому +21

      I don't it.

    • @cornholio777
      @cornholio777 6 років тому +12

      Python jealou

    • @ko-Daegu
      @ko-Daegu 6 років тому +6

      Saeed Baig
      In OOP not all programming languages ...
      That‘s a big no no ...huge mistake and wrong info

  • @carlodurian3730
    @carlodurian3730 6 років тому +1

    "In fact, most other programming languages are quite jealous of Python for its elegance and simplicity." Hahaha! That knocked my socks off from the get-go!

  • @quietwulf
    @quietwulf 4 роки тому +3

    How did I just stumble on this. What a fantastic series! Thank you so much for the work you've clearly put into this!

  • @o1techacademy
    @o1techacademy 2 роки тому

    I have learnt about class before but I have to watch this video because of your classic approach. Thank you very much.

  • @aashutoshsinha1253
    @aashutoshsinha1253 6 років тому +6

    the first UA-cam video I ever saw with "EXCELLENCE" in way of teaching 😍😍😍 mam, thank you 😋

  • @ivandrofly
    @ivandrofly 7 років тому +1

    ONE OF THE BEST PYTHON TUTORIAL OUT THERE...

  • @bhaiyyu
    @bhaiyyu 7 років тому +130

    " lets create a second user. We will call this second user, creatively, user2 " :P

    • @gauravnegi4312
      @gauravnegi4312 4 роки тому

      I couldn't ever guess that name. Socratica is best in creativity....

  • @codefun3168
    @codefun3168 5 років тому +1

    Classes n instances were explained well..every coding channel need to go back to basics

  • @srikarreddy7085
    @srikarreddy7085 7 років тому +14

    You have excellent creativity skills....Initially i was shocked to know that your channel has only 96k followers which i feel is low....You have know idea how many people who want to learn python would be gratefull after finding your channel...Hats off to your skills...Your video reminded me of assassins creed video...I think you should try something in mainstream game development if u havent already...anyways best of luck and thank you

    • @_SeaH0rse
      @_SeaH0rse 5 років тому

      "only 96k" -.- really

  • @carterreynolds5649
    @carterreynolds5649 2 роки тому +1

    Personally, I have recently started a job role where I needed to learn lots of SQL and Python and I have had only previous minimal exposure to both. I've been picking it up very quickly, and already written a few of my own scripts/improved previously written scripts thanks to Socratica. The trick is just to keep writing code and solidifying the topics discussed in these videos. Even if something I did before was a small manual task, I'm finding ways to automate those tasks using Python and it's really not been that difficult to wrap my head around. It's also just a lot of fun and python is so widely supported for just about anything you'd want to write code for. The opportunities are endless!
    I love the way they approach these more advanced topics without going too far into the weeds on technicalities. Knowing the ins and outs of how python functionally works and interacts at a high level is very important for more advanced scripts, but this is just essential information and exactly what you need to start coding - optimizing code and knowing all the little tricks to save lines in your code comes after and I highly suggest anyone unsure of where to start to literally just start with ANYTHING.
    Would love to see a Socratica video on Python Async and Await (unless I've just missed it).
    Keep up the awesome videos, you all are great!

  • @IsaacAsante17
    @IsaacAsante17 6 років тому +3

    Excellent channel and video. It's a bit cringy, yet insightful. There's some humour to it, yet the lady looks completely serious. The effects and style of the video seem overstreched, yet the content is very easy to understand. I don't know how you came up with this idea, but you nailed it, Socratica.

  • @MrRahul15937
    @MrRahul15937 2 роки тому

    I finally understood classes...
    This channel will never be old

  • @mamotivated
    @mamotivated 6 років тому +3

    I love the production value and dramatic tones of this and I am sure your other videos. Your content is great and I will be sure to share. Your hardwork is very appreciated. Thank you

  • @jalalhamed6265
    @jalalhamed6265 3 роки тому +2

    coolest, darkest, most robotic yet human friendly programming tutorials on the internet

  • @theronsturgess257
    @theronsturgess257 7 років тому +12

    Nice 2001: A Space Odessy references! "It's full of stars!" I'm learning to code and these videos are great. Thank you for making these!

    • @MicroageHD
      @MicroageHD 6 років тому

      especially amusing since her voice is very "robotic", like HAL9000s :P

    • @davidmarks509
      @davidmarks509 2 роки тому

      @@MicroageHD Should we trust her.

  • @WilliamLaroche1.618
    @WilliamLaroche1.618 5 років тому

    I couldn't understand how to create objects in classes or what i could use them for, but now i get it. Thank you.

  • @pojntfxlegacy611
    @pojntfxlegacy611 7 років тому +28

    Looove the video style and explanation!

  • @fernandofranco8836
    @fernandofranco8836 4 роки тому

    From all of the rest of python videos Socratica does a really good Job explaining Python.

  • @anneamy7051
    @anneamy7051 7 років тому +46

    when I reach 10million dollars my startup that time I am invest 1 million. dollar for your work ...I'm sure that day come in future ..i love your work and passion helping and sharing knowledge ....

    • @Socratica
      @Socratica  7 років тому +15

      Thank you so much for your kind message! We are rooting for your success!! :)

    • @jhip6269
      @jhip6269 7 років тому +11

      Hire me while you are at it please.

    • @stank666ocean
      @stank666ocean 6 років тому +1

      can i help?

    • @kardashevr
      @kardashevr 6 років тому +1

      you can donate them on patreion a smaller amount of money

    • @timothynorman9170
      @timothynorman9170 6 років тому +1

      How goes your progress?

  • @qasimpakistan
    @qasimpakistan 3 роки тому

    Direct, clear, and to the point. Kept my attention throughout the whole video. Other videos ramble way too much or try to make it funny, etc.

  • @stoicfloor
    @stoicfloor 7 років тому +11

    I was just started to learn Python and this comes in handy! Thank you:)

  • @yifeizhao5311
    @yifeizhao5311 2 роки тому

    I like the vibes of this video. It gave me the feeling of learning my rookie lessons with a commander in the Python War I.

  • @richsandness5409
    @richsandness5409 7 років тому +6

    Very nice speaking voice, tone, screen automated visuals, style, and speed of speaking. "Voice" is not the only criteria to me, but it is somewhat "huge". I like the way that the words are spoken fast enough, but they are not spoken "too fast", as I have seen some do, and while people may "know their stuff", programming-wise, it can be yet another thing to have the gift of teaching and presentation, as well as the blessing of tone fluctuations and very clear, crisp English accentuation, too boot. Watching this particular video (as well as others) and following along is made to be almost sort of 'fun', i.e. toning down the (mild) frustration, or self-impatience of learning something new while turning up the joy of it.
    The thoughtful and careful clarifications, the method, the tempo, and video technology that are incorporated, result in great synergy. In other words! "Great job, be encouraged, and keep up the good work!". I prefer this video over most any other I remember seeing (of all teaching presentation videos, or perhaps I should say 'this series', so that it does not sound like I am preferring this video above all of your other videos. This is a good "instance", but I like the overall "class", that I see in all of them. :-) (pun intended)

    • @RussellTeapot
      @RussellTeapot 7 років тому +1

      Definitely agree with you. She's very clear even to a non native English speaker like me, because everything is just perfect. Plus, the serious/semi-robotic style puncutated by occasional bursts of humour is very enjoyable

  • @killjaqular
    @killjaqular 6 років тому

    seen around 8 different videos attempting to explain what a class is in Python and this video finally made it perfectly clear.
    wish it had a little less corniness though.

  • @888snuffy
    @888snuffy 7 років тому +3

    Best youtube channel for sure!

  • @fluiditynz
    @fluiditynz 2 роки тому

    Interesting. I enjoyed the dry humor. I've dabbled in python, programmed a few small embedded applications before using multicast, cameras, windows gui to python networked screens and completely missed the selective capitalisation conventions. I've used classes before but this really pushes out their utility. Given that I've never programmed with others in a team the above makes more sense.

  • @jagdishghimire6172
    @jagdishghimire6172 7 років тому +16

    Came to learn Python! Fell in Love!!

  • @lawrencedoliveiro9104
    @lawrencedoliveiro9104 4 роки тому

    1) Every value in Python is an object.
    2) Every object is an instance of a class.
    3) Every name in Python is a variable. This includes function names and class names. Function definitions and class definitions are just forms of assignment statement.
    4) Since functions and classes are themselves just values you can put in a variable, that makes them objects, which must themselves be instances of classes.
    (To be continued.)

  • @brittanyneal5943
    @brittanyneal5943 4 роки тому +5

    I LOVE you Socratica team! The fact this channel is what it is makes me love humans (and machines) even more :D
    Can you please make a video on super() and class inheritance?
    THANK YOU

  • @1980cantrell
    @1980cantrell 6 років тому

    Finally an actual educated person on you tube. thank you for this video and all the rest you may do.

  • @kquote03
    @kquote03 6 років тому +18

    "And we will do so , in a CLASSy way."
    O no

  • @hayfordadjavor18
    @hayfordadjavor18 7 років тому

    Socratica is truly a powerful resource for programming enthusiasts like me; I appreciate this amazing resource!

  • @ianmubangizi6721
    @ianmubangizi6721 6 років тому +7

    Damn, you're entertaining and educational all at the same time. Thanks a lot for the Videos, I was about stuck to C++, now just Python all the way from [Se] to [Web].

  • @cyph3rxprogramming829
    @cyph3rxprogramming829 5 років тому +6

    "I WANT TO GATHER AS MUCH DATA AS POSSIBLE FROM USERS " LMAO THAT KILLED ME

  • @dimtim7829
    @dimtim7829 3 роки тому

    I love your precise and simple humor with a little of frigid atmosphere. You explain amazingly well and strict to the point.

  • @TheAddictsNotebook
    @TheAddictsNotebook 7 років тому +4

    Great videos, very helpful. Could you please scroll the code up a little bit when it gets to the end of the screen in future videos. I pause the videos to code along, and the UA-cam UI obstructs the view of the code at the bottom when paused.

    • @Socratica
      @Socratica  7 років тому +11

      Thank you so much for letting us know! We see what you mean. We will try to avoid this in the future! As a workaround, looks like the UA-cam framing doesn't interfere with the video if you go into fullscreen mode. Oh, UA-cam.

  • @newmanchips8103
    @newmanchips8103 3 роки тому +1

    The presentation is lit.. Enjoyed the way it was laid out... Its fun

  • @qwerasdfhjkio
    @qwerasdfhjkio 5 років тому +41

    Socratica:"Classes are fondamntal tools for any respectable programming language"
    C: Am I a joke to you?

    • @zyptoskid
      @zyptoskid 5 років тому

      All Functional, Imperative, and Logical languages: Are we a joke to you?

    • @rajab4187
      @rajab4187 5 років тому

      Yep

    • @antred11
      @antred11 5 років тому

      She said _respectable_ . 😝

  • @hibikino
    @hibikino Рік тому

    I wish my Python programming classes were this interesting and engaging.
    Well done.

  • @paraglide01
    @paraglide01 6 років тому +12

    Data's better half ;-)

  • @Socratica
    @Socratica  5 років тому +1

    We're halfway there. We still need your help! Support Socratica Python Kickstarter: bit.ly/PythonKickstarter

  • @JamesFrost2k
    @JamesFrost2k 7 років тому +4

    OMG, how I love...
    PIE-THON!

  • @Csal406
    @Csal406 9 місяців тому

    Wow, this is fantastic and beats any python learning on youtube. I love this stuff.

  • @Barnardrab
    @Barnardrab 7 років тому +7

    So after you create a class, you can add any number of variables to an instance of that class? Coming from Java, that just seems weird.

    • @HK-sw3vi
      @HK-sw3vi 7 років тому +1

      coming from c++, that just seems weird.

    • @jatoxo
      @jatoxo 6 років тому +15

      coming from no language, makes sense to me.

    • @harshpherwani6590
      @harshpherwani6590 6 років тому +2

      Coming from C, it's something completely new

    • @rg3645
      @rg3645 6 років тому +1

      python is a dynamic language. you also don't have to declare variables before using them and python does a lot of data coercion for you too

    • @kishanmittal431
      @kishanmittal431 6 років тому +8

      coming from mars , maybe i should go back to mars

  • @kamillapaj8694
    @kamillapaj8694 3 роки тому

    best explanation of the problem on YT, as usual. Sometimes I regret I watched other tutorials before watching Socratica.

    • @Socratica
      @Socratica  3 роки тому

      You're so kind, thank you!! We're so glad you're watching. 💜🦉

  • @pilote111
    @pilote111 5 років тому +20

    Ok am I the only one how come from C++, JAVA, C#, etc , and was like " but, you didn't define first_name and last_name in your class!🤨 "

    • @sonmai3526
      @sonmai3526 5 років тому

      no private or public either, I feel uncomfortable!

    • @MPaulHolmesMPH
      @MPaulHolmesMPH 5 років тому +1

      I'm glad I'm not the only one!

    • @atansyankov
      @atansyankov 5 років тому

      it`s super strange, i don`t liked

    • @pythonhd4169
      @pythonhd4169 5 років тому +1

      That is indeed a weird and not very common thing to do in Python. You normally define all your instance variables in the __init__ function. But yes, you can do it in Python....

    • @skilz8098
      @skilz8098 5 років тому +2

      I've been working with C++ for years and it wasn't the same for me; when I first seen that I was like wow; that's pretty cool you can add a member variable to a class after the class has been created. I thought that was pretty cool. However I did watch a couple of other videos about Python and the core features of its language and what I got from them was that just about everything in Python in a sense is a run time object. Under the hood there are 4 basic data types, int, float and string not counting Boolean such as True and False. Once you create an instance of these at the local or global level you can not change them like you can in other languages. So if you have a variable as such: x = 10 in the global space x will always = 10 and you can not change it, this isn't the same for members. But basically everything you create or declare in Python under the hood is in a general sense a shared pointer object. Everything is created on the heap, there is no stack although you can create a stack object or structure with classes but Python doesn't have any notion of Stack or Variable Storage Specifier such as in C++ with automatic, static etc. I've only been learning Python now for about the past week and I'm catching on very fast. I'm starting to really like the language. The underlying nature of Python and being that it is a Scripting Language is that it is also a Dynamic Language. Everything you create in Python you can use Python's built-ins and some of their libraries to query the underlying pointer or memory address as well as the byte code of any and all Python objects.

  • @empoweringmind8203
    @empoweringmind8203 2 роки тому

    I just bumped into a UA-cam channel that can truly help an Earthling like me with level 0 programming ability. Well, it seems that I found a classy way of learning Python.

  • @raihanakram530
    @raihanakram530 6 років тому +6

    . 2:43 , 2:47 , 3:13...
    . How was a space inserted automatically between the first and last name??!

    • @sheikhabdulqadirjillani5152
      @sheikhabdulqadirjillani5152 5 років тому +1

      It's because a comma is used here for concatenation. if it were a "+" instead of "," you would have to add space.

  • @drauryn7516
    @drauryn7516 4 роки тому

    The format really stands out. Well done! It feels like learning to code whilst on the way to Mars. Love the subtle irony.

  • @kshitizshrestha7119
    @kshitizshrestha7119 7 років тому +12

    Why isn't this channel growing much??

    • @Socratica
      @Socratica  7 років тому +8

      We need your help to grow!! The best thing you could do would be to share our videos on Twitter, Reddit, Facebook, etc. so more people will learn about us.
      We really appreciate it. We want to stay in business to make more of these videos for you! :)

    • @Socratica
      @Socratica  7 років тому +6

      Thank you so much for your help! It really makes a difference! :)

    • @erarman1991
      @erarman1991 6 років тому

      Xitiz Shrestha advertisement speaks in this 21st century .

    • @Cheesypockets
      @Cheesypockets 6 років тому

      One of the main reasons comes to be audience. Socratica's videos are excellent, but there are far less programmers than there are people actually on youtube. Though the field is always growing and getting people engaged in what most view as a very dry subject into showing how it empowers the end user, and how useful programming is very important.

    • @TheKikSmile
      @TheKikSmile 6 років тому

      Ken M so programmers aren't people?)

  • @amauta5
    @amauta5 4 роки тому

    I;ve been wathching a bunch of these and i have to say that the humor goes sooo underrated. I love it.

  • @jordanova4001
    @jordanova4001 4 роки тому +3

    Where is the next video then? 7:50

  • @seriousbusiness2293
    @seriousbusiness2293 4 роки тому +2

    Fun animation timed with what's said. Clear explanations and she doesn't do a too simple or complex attempt at explaining. Very good tutorial quality

  • @rubinxu1343
    @rubinxu1343 5 років тому +3

    I keep thinking of me watching a game live instead of a python tutorial lol

  • @zakariaabdelaziz3182
    @zakariaabdelaziz3182 4 роки тому

    I'm following a course on Udemy, but for some reason when it came to OOP he decided to use poker as a 1 hour example.
    I understood classes here in 10 mins, thanks a lot

  • @moose43h
    @moose43h 7 років тому +31

    for reassons 😂😂

  • @maplebestgirl161
    @maplebestgirl161 5 років тому +2

    I feel like learning a lot from you than my professors! This futuristic atmosphere while explaining things classes and objects felt like I was learning things quicker than expected. Great work!

  • @Gallade6349
    @Gallade6349 7 років тому +3

    Aren't "fields" really called "attributes"? I've searched the web for like 30 mins and that's pretty much the conclusion I've drawn

    • @iLoveTurtlesHaha
      @iLoveTurtlesHaha 7 років тому +1

      Yes they are the same. Attributes are variables in a method, this is also what a field is.

    • @man0utoftime
      @man0utoftime 6 років тому

      An attribute can be a field or a method (a variable or function defined in the class, respectively). Standard terminology varies depending on the language, but that's what I learned with Java.

    • @man0utoftime
      @man0utoftime 6 років тому

      Gallade6349 see previous comment

    • @man0utoftime
      @man0utoftime 6 років тому

      iLoveTurtlesHaha But you aren't wrong: usually "attribute" refers to a field. Rarely will a method be referred to as an attribute. I think the user.age() is a good example of a method which could be considered an attribute, especially since it returns a value derived from fields defined in the class. Whereas a method that deletes a field or changes it's value, for example, would be unlikely to be called an attribute of a class.

  • @jerickodoggo9595
    @jerickodoggo9595 3 роки тому

    hahah, I love this thematic cinematic take on teaching programming. Its awesome because I DO want to learn as hard as I can manage. Which means learning syntax in the most boring ways and then trying out projects to apply what you learn there... That takes a ton of time... inbetween you better be taking notes or watching videos LIKE THIS to keep it all going - if you want to go strong i guess... I'm so weak :(

  • @vagrant_ijn
    @vagrant_ijn 6 років тому +7

    "...because reasons" very dry humor over here.

  • @jsmythib
    @jsmythib 3 роки тому

    Articulation, cadence, tone, presentation. Excellent. Very C&C sounding :)

  • @lukewarmwater802
    @lukewarmwater802 7 років тому +11

    Although the lessons are good, I get scared by her presentation, as if I might be inducted to a learn programming for evil intentions.

    • @iLoveTurtlesHaha
      @iLoveTurtlesHaha 7 років тому +1

      LMAO, I think it's cool AF and so do most people watching (as you can see from the comments) :P

    • @allesmedvesek
      @allesmedvesek 5 років тому

      I think the evil intention is you can tell others: "Learn to code" :)

  • @zilkauskas
    @zilkauskas Рік тому

    I am just a beginner and this video helped me more than my teacher. Thanks!

  • @pyroghost11
    @pyroghost11 6 років тому +2

    Truly in a class by itself, I just can't stop watching these videos... I've learnt so much from them! Thank you!

  • @liorschifrin
    @liorschifrin 3 роки тому

    Thank you so much! I’ve kind of used classes before but never really understood what the hell was happening. I finally understand what self means. Amazing!

  • @w.stanjames9175
    @w.stanjames9175 4 роки тому

    This is perhaps what being taught by a Vulcan would be like. But it's very clear and concise - thanks!

  • @schedarr
    @schedarr 3 роки тому

    This formula of a video is brilliant. It's on point, it's funny and examples are perfect. Love it!

  • @ruffnck4637
    @ruffnck4637 4 роки тому

    U really make me improve my skills, no one explains like u. Greetings from the bottom of the valley