Jeremy D. Miller -- The Shade Tree Developer

Sponsors

The Lounge

News

Advertisement

Images in this post missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at imagehelp@codebetter.com
An infallible mechanism to measure your growth as a developer

Unfortunately, I think the best barometer to measure your growth as a developer is looking at your old code and cringing.  This morning I needed a little enhancement to a web page, and rather than writing something new or looking for something to download, I went and pulled out an old script I'd written 4+ years ago.  It's perfectly functional and worked on the first try, but I made the mistake of looking closely at the code and almost wanted to puke.

I've almost always gone through a wave of "man, I wish I'd done that differently" headshaking after significant projects.  I've never been able to look at a completed system six months later and not see ways that it could have been built better or simpler.  If your code from a year ago looks good to you, you might just have peaked as a developer.


Posted 07-20-2006 8:47 AM by Jeremy D. Miller

[Advertisement]

Comments

KG2V wrote re: An infallible mechanism to measure your growth as a developer
on 07-20-2006 10:38 AM
Yeah - I had the fun of looking at some 4 year old, .Net 1.0 code.  UGLY isn't the word
johnwood wrote re: An infallible mechanism to measure your growth as a developer
on 07-20-2006 11:48 AM
You're right that's a great metric. If that code's in production it's probably worth spending a fraction of your week going back to that old, dusty code and rewriting functions here and there to take advantage of your new perspective and skills as a developer.
Willie wrote re: An infallible mechanism to measure your growth as a developer
on 07-20-2006 11:50 AM
I do the same, but I do notice that I've been getting better.  Code from 6 months ago isn't AS ugly as it was years ago.  Peaked?  I doubt that, there's always something new to learn it seems.
BigJimInDC wrote re: An infallible mechanism to measure your growth as a developer
on 07-20-2006 12:36 PM
Personally, one of the things that has kept me in the industry the past 15+ years is nearly every day realizing more and more things that I don't know but feel that I should know or know that if I did know them the results I produce would be better or my life would be easier or both.  In other words, considering the huge size of knowledge contained within our industry, anyone who thinks for a second that they know enough that they don't need to keep learning has stopped growing.
Greg wrote re: An infallible mechanism to measure your growth as a developer
on 07-20-2006 12:40 PM
This brings up another good point when looking at your current code, its easy to be overly critical of code. That code you wrote four years ago you thought was good, and the customer probably loved it.

This also scares me whenever I go to another field. Since I look at my five year old work and cringe, does a Doctor do the same thing?
AggieEric wrote re: An infallible mechanism to measure your growth as a developer
on 07-20-2006 10:16 PM
Why is this "unfortunate?"  Any true craftsman is this way.  My father-in-law is a furniture builder in his spare time.  And, his current works are much better than he pieces from five years back.

Oh, and starting to change that legacy code just to make it look better is quite a slippery slope to step on.  That is, unless you want to start by getting it under proper tests first - asuming it is easily tested.  I know my 5+ year-old projects are not.

I've been puting off fixing some bugs in an old project because I don't even want to see that nasty code.
Joel Rumerman wrote re: An infallible mechanism to measure your growth as a developer
on 07-21-2006 3:44 AM
"This also scares me whenever I go to another field. Since I look at my five year old work and cringe, does a Doctor do the same thing?"

-- skills and techniques are constantly changing and improving. It's why a lot of professions have continual education requirements to maintain certifications. I hope today's doctor has better techniques than the doctor of five years ago. It doesn't mean that the older technique was wrong, however.
Jason Haley wrote Interesting Finds: Some leftovers from last week
on 07-25-2006 11:34 PM
K. Scott Allen wrote 7 Virtues for Software Developers
on 08-09-2006 10:50 PM

Add a Comment

(required)  
(optional)
(required)  
Remember Me?