Overview
Explore the evolution of code quality tools and practices in Python in this 27-minute EuroPython Conference talk. Delve into the advancements made since the speaker's previous presentation four years ago, including new features in existing tools and the emergence of new ones. Learn about the impact of Python 3's type hints and dedicated type-checking tools. Gain insights on formatters, error detection, code duplication identification, and unused code discovery to simplify code review processes. Examine the speaker's more balanced perspective on code quality approaches, and understand how these tools can be effectively implemented in modern Python projects. Discover the concept of "hobgoblins" in coding and how it relates to maintaining high-quality Python code.
Syllabus
Intro
This talk will be
Meet the Hobgoblin!
Meet Timmy!
Meet the Zen of Python
Beautiful is better than ugly
Formatters
Explicit is better than implicit
Simple is better than complex
Complex is better than complicated
Flat is better than nested
Sparse is better than dense
Readability counts
Special cases aren't special enough to break the rules
Errors should never pass silently
Taught by
EuroPython Conference