Python Classes and Objects: Beginner-friendly object-oriented programming

Поделиться
HTML-код
  • Опубликовано: 15 ноя 2024

Комментарии • 12

  • @ntsakelosiwela
    @ntsakelosiwela 19 дней назад +2

    best tutor, continue making more video's.❤❤

    • @CodewithGunnar
      @CodewithGunnar  19 дней назад +1

      Thank you so much - glad to hear that you're enjoying the content. Happy coding :)

  • @berniwtorcs
    @berniwtorcs 12 часов назад

    Great, I like that you mention things like the single responsibility principle, this is a huge headache in a lot of professional written code I dealt with. One thing worth mentioning might be, to bridge the mentioning of functions being first class citizens, that also methods can be replaced for a specific instance, e.g. "dog1.bark = MethodType(custom_bark, dog1)" with "def custom_bark(self): ...". Not that I recommend this practice, but this is a key difference to languages where this is static like Java, C++ and the like.

  • @HoriaMommand
    @HoriaMommand 25 дней назад +1

    Thanks Gunner:)

    • @CodewithGunnar
      @CodewithGunnar  25 дней назад

      You're very welcome. Took a little longer than I had hoped to get the new video out - but better late than never :)

    • @HoriaMommand
      @HoriaMommand 25 дней назад

      @@CodewithGunnar
      No problem at all! We're glad you took the time to get it right. Better late than never indeed. We're looking forward to watching the new video!

  • @kbdealer
    @kbdealer 25 дней назад

    sir i started watching your videos, great vidoes

  • @johnkaruitha2527
    @johnkaruitha2527 24 дня назад

    Great videos @gunnar

    • @CodewithGunnar
      @CodewithGunnar  23 дня назад

      Thanks a lot, John!! That's very kind of you :)

  • @kbdealer
    @kbdealer 25 дней назад

    plzzz also make a project time to time, waiting for project

    • @CodewithGunnar
      @CodewithGunnar  23 дня назад

      Absolutely, projects are going to come a little later in the course once I've covered the main syntax of Python - hang in there :)