Rodrigo GirĂ£o SerrĂ£o

1 video · 1 event · 2021 · 45 min of video

Talk

0:45:21

Pydon'ts – Write elegant Python code (v1.1)

DjangoCon US 2021 · October 23, 2021

Elegant Python code is built through small, deliberate refactorings rather than by rewriting everything at once. Using a function that alternates the case of characters as an example, Rodrigo GirĂ£o SerrĂ£o shows how readable whitespace and names, direct iteration with `enumerate`, limited nesting, and standard-library…

Spoken at