Archive for the 'Refactoring' Category

More On Total Loss

Sunday, December 10th, 2006

A couple of weeks ago I wrote about code which doesn’t deserve to be maintained. I received a lot of comments on this post. Many of them argued that unlike tangible goods, code does not decay. Some people referred me to Joel Spolsky’s article, saying that throwing away code which was already tested and used […]

Total Loss

Tuesday, November 21st, 2006

Used cars. That’s what’s on my mind these days. My wife and I decided that we need a second car. But judging from the time it takes us to find one, I’m not sure we are really serious about it. Well, we are, but here’s the thing…
You see, I’m just too paranoid to put my […]

Elements Of Simplicity: Working Around Workarounds

Tuesday, June 27th, 2006

In an ideal world every element of your design and every line of code would fit perfectly into the big picture. However, in reality, sometimes we have to create patches and workarounds to meet an ad-hoc necessity. There are cases which require some sort of an emergency fix “just until we have the time to sort it […]

Refactoring++: The Clean Sheet Approach

Tuesday, April 25th, 2006

I was working on my book yesterday. I read one of the chapters I had written and I wasn’t happy with it. It wasn’t the grammar, nor was it the phrasing. It just didn’t feel right. Something in its flow was awkward, although I couldn’t just put my finger on it.
So I started working […]