Raymond Hettinger «Build powerful, new data structures with Python's abstract base classes»

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

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

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

    You know there's gonna be some good stuff when this guy shows up

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

    I have yet to see a Hettinger talk that disappoints!!! Always great talks!!!

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

    Such a delight watching him. Sparks my love for Python every time

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

    So good to have someone who is in the core and knows the reason for the design.

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

    Raymond is an excellent speaker, thanks for hosting this. Also found out about traitlets module. Best talk on ABC. Had to copy the code from the video, but its a small price to pay for a persistent dictionary which is shareable and concurrent

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

    0:00 Introduction
    1:29 What Abstract Base Classes are all about
    9:59 Strategies for using ABC
    41:06 Q&A

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

    Excellent talk, learned a lot from Raymond!!!
    many deep insights, which are hard to think all by yourself

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

    Loving the FileDict, I already found a use for it, but I adjusted it a little to work with json

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

    "Ruthless Tuition" - you couldn't avoid learning even if you tried

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

    The Validator example is in the Python Documentation How To he wrote about descriptors: docs.python.org/3/howto/descriptor.html#complete-practical-example

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

    Is there a link to the slides somewhere?

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

    plz, i need the document used, i can t access it

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

    how can I access the content he's showing?

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

    Seems like there is no link to the slides :(

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

    36:30 validator example

  • @con-f-use
    @con-f-use 4 ปีที่แล้ว +1

    Where can I get the slides?

    • @con-f-use
      @con-f-use 3 ปีที่แล้ว

      also spoiler alert :D

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

    min 33:07: starks.keys() and starks.values() return the same content, ie a list/tuple of (key, value) pair?

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

      No, .keys() returns a KeysView, i.e. an iterable over the keys of the FileDict, and similarly .values() returns a ValuesView, an iterable over the values of FileDict. They just look similar because you see the FileDict printed out.

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

      @@alexanderreynolds7638 thanks for pointing that out

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

    you should have warned there were GoT spoilers inside! =) An amazing talk otherwise.

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

    6:50 this regiter() nonsense seems like a great way to allow hackers to spoof being subclasses without knowing 100% of the internal methods of the abstract class

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

      Secure python lulz