Resources/pointers for writing maintable, testable Python

Jacob Scott jacob.scott at gmail.com
Wed May 18 17:01:32 EDT 2016


Many years ago, when I was primarily writing Java, I found Misko
Hevery's Guide:
Writing Testable Code
<http://misko.hevery.com/attachments/Guide-Writing%20Testable%20Code.pdf> to
be incredibly helpful in guiding the design and structure of my codebase,
and as reference for checking if my code was smelly.

Today, I'm happily writing primarily Python (unfortunately, 2.7 -- but I'm
not sure it makes that much of a difference), but I haven't found anything
that speaks to me in the same way. Some of the best resources I've found,
but which don't quite cover all of what I'm looking for, include

   - PEP-8 and PEP-20
   - The Hitchhiker's Guide to Python
   <http://docs.python-guide.org/en/latest/>
   - Effective Python <http://www.effectivepython.com/>

I'd appreciate any pointers to resources I might have missed, general
thoughts on the topic, etc.

Thanks,

Jacob



More information about the Python-list mailing list