Python Bytes Episode 418: Remembering Michael Foord
·20m 22s
Shared point
–
Remembering a Python Legend: Michael Foord
This episode of Python Bytes honors the life and contributions of Michael Foord, a highly influential figure in the Python community.
- Core Contributions: Michael played a vital role in the language's development, including contributing to the standard library's
unittestframework. - The Power of Mocking: He authored the mock library, which eventually became a core part of Python as
unittest.mock. - Legacy: Beyond his code, he was a key figure at PyCon, helping to establish the Language Summit. Community members remember him as a "larger-than-life" character with original, fierce intellect.
"He was a walking paradox, both completely certain of himself and yet always questioning everything."
Essential Best Practices
Michael's 2017 article, "30 Best Practices for Software Development and Testing," is highlighted for its enduring wisdom:
- YAGNI (You Ain't Gonna Need It): Avoid over-engineering by writing only what is necessary.
- Code is the Enemy: Keep codebases small to reduce maintenance and potential bugs.
- Don't Over-Mock: Excessive mocking often indicates poor code design. Prioritize testing behavior over implementation.
New Tools and Resources
- Valkey: An open-source, high-performance, in-memory key-value store that acts as a compelling alternative to Redis, supporting caching, queues, and primary database workloads.
- MIME/Content Types: The site mimetype.io is introduced as an essential resource for web developers needing to map file extensions to correct MIME/Content-Type definitions.
- HTTP Status Codes: Using httpstatuses.io can help developers navigate complex status codes, including the famous "I'm a Teapot" (418) error.