Type Hints - Putting More Buzz in Your Fizz

Type Hints - Putting More Buzz in Your Fizz

PyCon US via YouTube Direct link

mypy needs some convincing

16 of 27

16 of 27

mypy needs some convincing

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

Type Hints - Putting More Buzz in Your Fizz

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Intro
  2. 2 Topics
  3. 3 Some basic tooling - mypy and fox
  4. 4 Installing and Running
  5. 5 Sample Project
  6. 6 A simple case
  7. 7 The Fizz-Buzz Party Game-Sit in a circle and count
  8. 8 A Fizz Buzz Solution fizzbuzz2.py
  9. 9 A Fizz Buzz Solution With Hints
  10. 10 A Fizz Buzz Solution With Erroneous Hints
  11. 11 Two Paths Forward
  12. 12 Design Strategies
  13. 13 Dealing with complex data structures
  14. 14 We really wanted a mapping from number to fizz-buzz text
  15. 15 Some code
  16. 16 mypy needs some convincing
  17. 17 Adding clarity
  18. 18 Refactoring Phase 1: Simplify the Types
  19. 19 Refactoring Phase II: Propagate the Simplifications
  20. 20 Forward references and circularity
  21. 21 Two Classes with Mutual References
  22. 22 Don't Panic
  23. 23 Here's the state of a number, FBState
  24. 24 Debugging
  25. 25 Some Example Code
  26. 26 Common Sources of Complexity
  27. 27 More Buzz in your Fizz

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.