2 Ways of Looking at Old Code


There are two ways to looking at old code: "I can't believe I wrote this code" and "I can't believe I wrote this code."

I recently tabled a small module for about a month. I came back to it and had trouble remembering what I was trying to do. Why did I name my variables that way? What was the point of this function? How could this ever work? If anyone else had ever seen that code, I would have just crawled into a hole and died.

OTOH, I recently wanted to build a new UI gadget in javascript and remembered once writing something similar in VB years ago. As I went through that code, I thought, "This is really clever! Was I really that smart back then? Why haven't I written anything this cool lately? Am I losing it?" (The answer for me and everybody else is, "If you did it once, you can always do it again.)

Original thread:  http://news.ycombinator.com/item?id=1896338



Permalink

| Leave a comment  »

 •  0 comments  •  flag
Share on Twitter
Published on November 14, 2010 06:07
No comments have been added yet.


Ed Weissman's Blog

Ed Weissman
Ed Weissman isn't a Goodreads Author (yet), but they do have a blog, so here are some recent posts imported from their feed.
Follow Ed Weissman's blog with rss.