Archive for May, 2010

Stop Apologizing for Your Code

Have a habit of apologizing for your code before showing it to someone else? You’re doing it wrong. I’ve been the only TDDer in my team for about a year now. When I just joined the team, my TDD ways were looked at as a weird fad. Nevertheless, I kept working in my ways, know [...]

Continue reading » 3 Comments

Notes From the (First?) Israeli Code Retreat

Tags: ,

Today I had the honor of running a Code Retreat right here in our little country. A Code Retreat is a concept that was born in the beginning of 2009. It’s a day that consists of a bunch of programmers working in pairs about a problem – a session is 40 minutes long and after [...]

Continue reading » No comments

Case Study: Single Responsibility Principle Violation

Tags: , ,

Having recently finished the amazing PPP book (more here) my code-sense is getting better in putting the finger on the smells in code that make it painful for me to use. This is the story of one of them, in Buildbot. Disclaimer: Buildbot is a pretty awesome building/continuous integration system that I use and contribute [...]

Continue reading » No comments

Python (nose) Test Coverage on Buildbot

Tags: , , ,

Once we got our builds happily running on Buildbot, there’s really no reason not to add coverage since it’s so easy (especially if you get bragging rights over your non-TDDers teammates). All you have to do is this (code is based on this blog post, with adaptations to work on slaves that don’t share directories [...]

Continue reading » No comments

Agile Software Development: You Will Never Code The Same Again

Tags: , ,

How often do you get to work along some coding superstar that’s been at it for decades? If you’re anything like me, the answer is “never”. That’s why I’ve recently decided to go after books that are aimed to fill this gap exactly. The latest is “Agile Software Development: Principles, Patterns, and Practices” by the [...]

Continue reading » 1 Comment