This is another post in my book reviews series. I finished reading Clean Code a few days ago and loved it. It makes me feel good, seeing my decision to wear the Clean Code wristband a few months ago was a smart one.
After I finished it, I felt a bit weird writing a blog post [...]
Book Review: Clean Code
Category: ProgrammingCase Study: Refactoring Interfaces with TDDed Tests
Category: Programming, testingI’ve been practicing TDD for a couple of years now, and keep learning all the time.
In the past year I’ve been mainly working on a single project, the longest I’ve worked on a project with TDD. Putting aside how fun it is (TDD saved me quite a few times for me to be sure it’s [...]
Stop Apologizing for Your Code
Category: ProgrammingHave 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 that, [...]
Notes From the (First?) Israeli Code Retreat
Category: ProgrammingToday 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 each [...]
Case Study: Single Responsibility Principle Violation
Category: ProgrammingHaving 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 code [...]
Python (nose) Test Coverage on Buildbot
Category: Programming, testingOnce 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 with [...]
Agile Software Development: You Will Never Code The Same Again
Category: ProgrammingHow 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 [...]
nose doesn’t discover tests on Solaris
Category: Programming, techie, testingNote: this is a technical post, to help poor souls that google this
When using nose on Solaris machines, simply running nosetests without specifying the file names will not work if you are the root user. To fix this, you must either not be root, or pass nose the argument –exe. That’s it.
Gory details: [...]
Avoid the perils of coder customers
Category: ProgrammingCoders are the worst customers ever. The sooner you wrap your head around that, the better. Actually, any customer that’s technical is a bad customer, but nothing trumps coders. That fact is not intuitive, or at least wasn’t for me, but it can be really painful to find it out by yourself. So here, I [...]
Stop Coding in the Middle Ages
Category: ProgrammingAren’t you sick of wasting your time, your team’s time and precious build cycles for finding the stupidest mistakes ever? I know I’m far more interested in solving the real problems at hand than chasing stupid syntax errors. And even if you don’t mind, you really shouldn’t let your teammates substitute for a decent tool.
Up [...]
