The blog of Rahoul Baruah from 3hv Ltd

What's going on?

My name is Rahoul Baruah (aka Baz) and I'm a software developer in Leeds (England).

This is a log of things I've discovered while writing software in Ruby on Rails. In other words, geek stuff.

However, I've decided to put this blog on ice - I would ask you to check out my business blog here (or subscribe here).

25 April, 2007

The Cost of Change

There's a real problem with the way that Rails reduces the cost of change.

You see, it's a good thing. Getting started is often the hardest thing to do so not having to make big decisions up-front can let you build up momentum without spending days staring at a blank sheet of paper.

But it's also a bad thing. Instead of moving forwards you can, if you're not careful, spend ages going back and revisiting your old code (because you know how to make it that little bit better).

I've now set myself a rule only to rewrite an existing RHTML template into Markaby if (and only if) I was going to be editing it anyway. Not just because I happened to be passing.

Damn you Martin Fowler!
Damn you refactoring!
Damn you unit tests for making my life easier!

No comments:

eXTReMe Tracker