HackerTube
HomeLongsLikedHistoryWatch laterCategoriesPlaylistsSettings

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

SF Python1 HN recommender · recommended in 1 month, 2020-2022
YouTube
27K views · 8 years ago · talk · evergreen

Raymond Hettinger's PyBay 2018 keynote on preventing, finding and fixing bugs under a time budget. He covers testing practice, type annotation tradeoffs and the limits of coverage metrics.

HN cites it in Python testing and code quality threads, including his point that 100% coverage proves little.

Testing, debugging & developer toolsPython, Ruby & scripting languages#python#testing#debugging#raymondhettinger#codecoverage

5 comments from Hacker News

@hbrn2022 · in “Boring Python: Code Quality”

My examples are just personal anecdotes, you can dismiss them by saying "our team won't make the same mistake". If your goal is 100% coverage then it will turn testing into ritual and only give you the illusion of quality. Instead of testing inputs and edge cases, you will focus on testing lines of code. There's a good illustration of uselessness of 100% coverage in one of Raymond Hettinger talks: ▶ this video > I use testing as a tool to be sure we ship quality code I suspect we have different definitions of quality, and your might include testing, so I doubt I will be able to convince you.

CitesView on HN
@TrickardRixx2022 · in “Boring Python: Code Quality”

Please see Raymond Hettinger's keynote on efficiently handling bugs[0]. He makes the case that static type checking is a boon for Python except for in specific programs that make extensive use of covariant and/or contravariant types. [0] ▶ this video

CitesView on HN
@Rendello2021 · in “In praise of property-based testing (2019)”

I had a similar experience after watching a Computerphile video with John Hughes, one of the authors of the original propert-based testing tool, QuickCheck [1]. Running hundreds of thousands of unique tests and finding the simplified cases was mind blowing to watch. I loved the video but my first experience with this method was with Python's Hypotheis [2], I haven't used it a ton but it's great for finding parsing errors. In the words of Python core developer Raymond Hettinger: > It's not quite fuzzing, but it hits it with the kind of test cases that a good QA engineer would typically come up with, and it does it in automated fashion. 1. link 2. link 3. ▶ this video

CitesView on HN
@Rendello2021 · in “My Python testing style guide (2017)”

This is a good talk by the core developer Raymond Hettinger [1]. He prefers pytest too. I don't do any crazy testing, but I really like property-based testing with Hypothesis, which is also mentioned. This video isn't Python but it's a great intro to property-based testing [2]. 1. ▶ this video 2. link

RecommendsView on HN
@memco2020 · in “Python at Scale: Strict Modules”

Yes, they are probably most useful to me for the IDE completions and docs as well. Raymond Hettinger gave at least one talk [1] where he discussed how there are tradeoffs: reasons why you might use them and reasons why you might not. At the end of the day you can pass whatever you want to a function and the only reason to use types if they make your code better—but there are other tools that might be more worth your time in some situations. [1]: ▶ this video

CitesView on HN
The Mental Game of Python - Raymond Hettinger1:10:00

The Mental Game of Python - Raymond Hettinger

SF Python
131K views • 7 years ago
The Mental Game of Python - Raymond Hettinger [synced version]1:10:00

The Mental Game of Python - Raymond Hettinger [synced version]

Tech Ma
24K views • 6 years ago
Raymond Hettinger - Dataclasses:  The code generator to end all code generators - PyCon 201845:08

Raymond Hettinger - Dataclasses: The code generator to end all code generators - PyCon 2018

PyCon 2018
130K views • 8 years ago
Raymond Hettinger, Keynote on Concurrency, PyBay 20171:13:53

Raymond Hettinger, Keynote on Concurrency, PyBay 2017

SF Python
161K views • 9 years ago
Transforming Code into Beautiful, Idiomatic Python48:51

Transforming Code into Beautiful, Idiomatic Python

Next Day Video
1.1M views • 13 years ago
Modern Dictionaries by Raymond Hettinger1:07:41

Modern Dictionaries by Raymond Hettinger

SF Python
150K views • 9 years ago
Hillel Wayne - Beyond Unit Tests: Taking Your Testing to the Next Level - PyCon 201829:21

Hillel Wayne - Beyond Unit Tests: Taking Your Testing to the Next Level - PyCon 2018

PyCon 2018
38K views • 8 years ago
Autonomous Testing and the Future of Software Development - Will Wilson32:02

Autonomous Testing and the Future of Software Development - Will Wilson

The Linux Foundation
7K views • 7 years ago
PTVS 2.0 Beta: Mixed-Mode Python/C/C++ Debugging overview8:12

PTVS 2.0 Beta: Mixed-Mode Python/C/C++ Debugging overview

python tools
8K views • 13 years ago
A Talk Near the Future of Python (a.k.a., Dave live-codes a WebAssembly Interpreter)1:01:45

A Talk Near the Future of Python (a.k.a., Dave live-codes a WebAssembly Interpreter)

David Beazley
26K views • 7 years ago
🚀  TDD, Where Did It All Go Wrong (Ian Cooper)1:03:55

🚀 TDD, Where Did It All Go Wrong (Ian Cooper)

DevTernity Conference
619K views • 8 years ago
Build Your Own Async2:12:42

Build Your Own Async

David Beazley
60K views • 7 years ago
VisiData Lightning Demo at PyCascades 20184:51

VisiData Lightning Demo at PyCascades 2018

Saul Pwanson
41K views • 8 years ago
"Finding bugs without running or even looking at code" by Jay Parlar40:27

"Finding bugs without running or even looking at code" by Jay Parlar

Strange Loop Conference
42K views • 7 years ago
Charlie Marsh: uv: An Extremely Fast Python Package Manager40:34

Charlie Marsh: uv: An Extremely Fast Python Package Manager

Jane Street
107K views • 2 years ago
John Carmack: Best programming setup and IDE | Lex Fridman Podcast Clips15:20

John Carmack: Best programming setup and IDE | Lex Fridman Podcast Clips

Lex Clips
960K views • 4 years ago
Stevey's Tech Talk E39 -- A guided tour of Emacs45:11

Stevey's Tech Talk E39 -- A guided tour of Emacs

Steve Yegge
13K views • 4 years ago
Debugging with the Scientific Method - Stuart Halloway49:09

Debugging with the Scientific Method - Stuart Halloway

ClojureTV
25K views • 10 years ago
James Powell: So you want to be a Python expert? | PyData Seattle 20171:54:11

James Powell: So you want to be a Python expert? | PyData Seattle 2017

PyData
508K views • 9 years ago
Nathaniel J. Smith - Trio: Async concurrency for mere mortals - PyCon 201832:17

Nathaniel J. Smith - Trio: Async concurrency for mere mortals - PyCon 2018

PyCon 2018
30K views • 8 years ago