- 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 and I've worked at Google for the past 14 years. My main areas of focus are survey statistics and A/B testing. I formerly worked on Cloud infrastructure and open protocols.
Follow @haxor
if you'd like to read posts from me in the future. You can also
email me here
if you have questions.
If you enjoyed this post, look here for some of my other favorites.
© 2009-2020 Brett Slatkin