Teeing up Python - Code Golf

Teeing up Python - Code Golf

EuroPython Conference via YouTube Direct link

Visual Diff

8 of 30

8 of 30

Visual Diff

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

Teeing up Python - Code Golf

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

  1. 1 Intro
  2. 2 WARNING
  3. 3 Code Golfing
  4. 4 Snake Oil' Benefits
  5. 5 What are Strokes?
  6. 6 Ever written code like this?
  7. 7 Counting up the strokes
  8. 8 Visual Diff
  9. 9 Initializing dict values
  10. 10 Cleaning Up Resources
  11. 11 Context Managers
  12. 12 Exception Handling
  13. 13 "Simple" implementation
  14. 14 Let's decorate with @contextmanager
  15. 15 Functions aren't scary
  16. 16 Quick Functions Primer
  17. 17 Goofus and Gallant Highlights
  18. 18 Goofus and Gallant explore functions
  19. 19 Goofus and Gallant explore map
  20. 20 Goofus and Gallant explore reduce
  21. 21 Goofus and Gallant explore filters
  22. 22 Comprehending Comprehensions
  23. 23 Comprehensions Deconstructed
  24. 24 Better Mapping with Comprehensions
  25. 25 Better Filtering with Comprehensions
  26. 26 Better Reduces with Compressions
  27. 27 Better dicts with Comprehensions
  28. 28 Where can conciseness help?
  29. 29 Quick Whiteboarding Tip
  30. 30 Final Takeaways • Stroke reduction (making code more concise) reduces the cognitive load to understand code.

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.