The Gippy Pages


Just Do It as a coding practice

Mar 26, 2005 | Web Design & Development | By Shawn Parker

From time to time I’ve found that a project can be rather overwhelming that it is hard to find a place to start no matter what kind of planning is involved. And no matter how hard I try I cannot get it the way I want it without a lot of tweaking and often times by the time I’m done I want to rewrite everything to fix all the mistakes that I’ve made. I’m starting to think that this is a natural evolution of writing code. Well, at least for me.

It seems that no matter how hard I try I always end up with code that I completely want to rewrite or at the very least need to go back and overhaul to make cleaner so that the code is more compartmentalized, easy to read, and more efficient. It doesn’t seem like the first time around really leaves a product worth dealing with for much longer than it takes to rewrite it.

This is a pretty time consuming cycle but also no matter how hard I try it seems that this is just what I need to go through. I’m not sure if it is poor planning, relative inexperience as a programmer, or just that it is to be expected in this field. And, really, I don’t mind.

Looking back at my time as a graphic designer it seems like the logical progression of producing a product but just in a different manner than I’m used to. A typical layout begins with basic elements that get moved around, changed and sometimes thrown out. The revision process can sometimes happen a couple of times even before the client sees a sample. So that leads me to wonder why coding should be any different. Throwing out code, rewriting, combining and even starting over seems to be no different a process than what is involved with creating a visual piece. Just a bit more time consuming.

It’ll probably take a bit more getting used to both doing it and budgeting the time for it but overall it is going to end up being the best way to do things. Sometimes seeing a product in action is the best way to figure out what is wrong with it. And I don’t think I’ll have a hard time coming to grips with the fact that I don’t get it right the first time because getting it right in coding is just a little different than getting it right with a design or other piece of art.

So from now on it’ll be process of making a working prototype and then completely ripping it apart to make the final product.

Tagged as: coding, refactor