Python Class

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ก.ย. 2024
  • This Video Tutorial looks at the Python class

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

  • @agermoune
    @agermoune 11 หลายเดือนก่อน +2

    Wow! Can't get enough. Been watching tons of videos about class and finally things started making sense. Love the execution space analogy. I feel like watching live whats happening under the hood of Python. All I can say THANK YOU Phil!

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

      Great to hear. Thank you for your positive feedback.
      Best wishes
      Phil

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

    excellent teacher you put a very good effort in these tutorials it is verymuch true "it is like having a personal tutor" thank you

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

    High-quality teaching with detailed information, really give me a solid background on python, the best instructor I've ever had. Thank you so much, John.

    • @johnphilipjones
      @johnphilipjones  5 ปีที่แล้ว

      Thank you for your positive comments.
      Best wishes
      Phil

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

    Nice explanation !

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

    You have best teaching style, the video and audio quality is best.

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

    Only word I can think of 'Excellent'

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

    Thank You so much John. Your explanation is second to none!!! Wishing you a healthy life amid this COVID-19 pandemic. Subbed

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

      Thank you for your comments and best wishes it is appreciated.
      Best wishes Phil

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

    Amazing work ! Your videos deserve more attention, definitely better than the MOOC classes I took :) Thank you very much!

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

      +Zhang Bingjie Thank you for your generous comment.
      Best wishes
      Phil
      (John Philip Jones)

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

    Thanks John, crystal clear lectures. I finally understand classes.

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

    quality content

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

    really extraordinary tutos. tks!!!!

    • @johnphilipjones
      @johnphilipjones  8 ปีที่แล้ว

      +Adrian Villanustre Thank you for your generous comment.
      Regards
      Phil

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

    Superb as usual, thankyou

    • @johnphilipjones
      @johnphilipjones  5 ปีที่แล้ว

      Thank you for your positive comments. It is appreciated.
      Best wishes Phil

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

    Hi, great work.
    Awaiting more videos soon

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

      +Aditya Phatak Thank you should have more complete this week.
      Regards
      Phil

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

    Great teaching, thanks a lot

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

      +David Navarrot Gonzalez Thank you
      Regards
      Phil
      (John Philip Jones)

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

    A bit pedantic of a comment, but some people (notably Microsoft but also some people who aren't even Microsoft fans) call ThisOne PascalCase (upper camel case) and use camelCase for thatOne. I see many Python people will say CamelCase, tho. Not a problem if you don't mind saying "upper camel case" or "lower camel case". Some languages use both a lot, in which case it gets tedious to talk about with the extra words.

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

      You are correct I should have been more careful with the wording.
      Best wishes
      Phil

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

    Thank you so so much. Really Great Videos. I have a query. In one of the previous videos when you had created two Integer variables (Objects of Integer class) that had the same value , they also had the same id. But in this video, when we have 2 objects of the same class (with really no attributes ), why do we have different id's ?

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

      When the class is programmer defined (e.g. DemoClass) instances will have different id's.
      Best wishes
      Phil

  • @Nasirmah
    @Nasirmah 6 ปีที่แล้ว

    I always wondered why python uses one object when you set a=2 b=2 with both a and b having the same id but have separate objects for my_instance_1 and instance_2 labels though they have exactly the same objects, why not save memory ? From your other explanations I assume the Integer class is primitive to Python and it knows it is not mutable so you wont change the object itself while accessing the label but it cant make the same assumption about the your DemoClass or any user created class? I am mathematician and I never understood classes etc till I discovered your videos. I was preparing for Data structure interview about linked-list etc from other videos and I was having hard time getting it till I got reminded about John Jones video of visualizing each object created in the class and its id before and after it gets reassigned . I hope you make data structure videos about creating Linked-list, Hashmap i.e dictionary from scratch.

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

      An integer variable is a name bound to an instance of the integer class (i.e. an object) and it is the object that has the type).
      a=2
      b=2
      gives two names ('a' and 'b') both bound to the same instance of the integer class.
      This understanding however mus not be transferred to objects of different classes as you have suggested in your comment. It as you have said depends on whether the object is mutable or immutable.
      Best wishes
      Phil