- Decide on the single thing you care about the most and make it work
- Write a test for that important case
- Sketch out many other tests for cases you think could be important
- Rewrite the code two or three times while filling in the tests
I'm Brett Slatkin and this is where I write about programming and related topics. You can contact me here or view my projects.
14 July 2012
@
23:17
How to write code effectively
About
I'm the author of the book
Effective Python. I'm a software engineer at Google (currently in the Office of the CTO) where I've worked for the past 19 years. Follow @haxor on Twitter
if you'd like to read posts from me in the future. You can also
email me here.
© 2009-2024 Brett Slatkin