~/talk

Clean Code in Python: Myths, Facts and Double Standards

TalkinRussianat PiterPy 2022 · 2022-10-18..10-28· [developer-experience, python]
links:none on file
links:none on file
slides:none on file

Analysis of over 5,000 popular open-source Python projects to test claims about "clean code" and adherence to best practices like PEP8. The talk presents the methodology for that analysis and highlights concrete findings about which coding conventions are actually followed, which are myths, and where double standards appear.

AI-written summary · about

  1. 0:00Introduction
  2. 1:08Clean Code myths
  3. 4:41Analyzing open-source Python
  4. 11:32Super() inheritance pitfalls
  5. 14:53Star imports encapsulation
  6. 16:20LRU cache production
  7. 18:06Vanilla WSGI server
  8. 19:12Chained comparisons
  9. 21:21Dataclasses slots issues
  10. 23:10Pattern matching adoption
  11. 25:38Async decorators
  12. 26:21Walrus operator practice
  13. 27:49For-else loops
  14. 28:54Sentinel arguments
  15. 30:21Anti-patterns in top projects
  16. 32:07File handling without context
  17. 33:52Mutable defaults
  18. 36:00Global variables
  19. 37:44Contributing to open source
  20. 39:48Security risks in eval
  21. 42:18Tabs vs spaces
  22. 44:25Code quality tools
  23. 45:31Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.