Writing Code, Writing Stories

I’m probably not the first to notice that writing code is very similar to writing stories. There is structure and creativity involved. There’s writing the first draft, editing the draft, and then publishing the result for the public to view. There can be second/revised editions. There can be collaborations. Reviewers check and comment on the published result.

In particular, I’ve noticed that when I write a story, and think it’s complete, I still wait before sending it off or publishing it, because in the following days or week, I will get additional ideas on what to add, delete, or change. This has also happened with my code: I thought my “Demo Day” project was complete, but after a couple of days, I got additional ideas for improvements.

There’s definitely a similar feeling of accomplishment and satisfaction upon publication of either code or prose. The sense of fun in building also applies to both activities.

It’s hard to select a preference for one or the other; I think I’ll continue happily doing both.

Leave a Reply

Your email address will not be published. Required fields are marked *