Keynote - Preventing, Finding, and Fixing Bugs On a Time Budget | Raymond Hettinger @ PyBay2018

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

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

  • @karlbooklover
    @karlbooklover 6 ปีที่แล้ว +52

    I see a talk from Raymond -> I click, simple business

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

    Raymond, you have mastered a magnificent balance of technical expertise and clear/concise communication. Love your talks and conferences man, I’ve learned so much!

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

    Viewing Raymond Hettinger as an educator and entertaining speaker? (Bangs table) ... No, there isn't a better way😉

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

    I love his talks. He makes me believe that I can learn, do, understand anything.

  • @kevinhock1041
    @kevinhock1041 6 ปีที่แล้ว +13

    Raymond's the best

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

    Raymond you're the best sir.

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

      Almost, if he wouldn't use emacs instead of vim.

  •  5 ปีที่แล้ว +1

    Slides here: pybay.com/site_media/slides/raymond2018-keynote/intro.html

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

    Interesting little insight on the 3-means voting patterns!

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

    God I love that guy (as a speaker of course!).

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

    Hmm, its so easy to use Hy to convert those doctests into temporary static types so that you can use mypy. The algorithm is simple, when you see a list in a doctest it stands for a Sequence, when you see a set its an UnorderedSequence, when you see an integer it stands for a Number, when you see a float it stands for a float, when you see a str it stands for a str, when you see an Object it stands for Object (if you set the __astype__ attr in Object and it uses that type instead of the object), when you see a dict it stands for dict. What do you guys think? Also mypy should have IDE intergration where it tells you what type it thinks something is.

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

    cutting and pasting from the interactive prompt to the docstring is all well and good unless you've spent an entire afternoon trying to get an up-to-date (YouCompleteMe-compatible) build of Vim installed, and configuring the makefile to turn on "paste from system clipboard" has entirely defeated you

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

    Isn't hypothesis just reimplementing your functions? Why is that useful?

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

      It's not reimplementing. You implement constraints over them.
      The example in the talk was a quadratic equation solver.
      The code finds the equation roots, but the testing plugs those roots back in and sees that they output near-zero.
      I have a different example: if you're implementing an encode -> decode pair of functions, then you can test that decode(encode(x)) == x.
      Or you can test that no matter what input you get, your function does not crash (by simply calling it).
      It's implementing "constraints", not re-implementing the code.