I’ve spent the last week looking at old code. This has been very enlightening. On one hand, this code is decrepit and old. Most of it was originally written three designs and six years ago. There are tons of stupid and ridiculous coding decisions that I would never make today.
But that’s exactly why I am so optimistic. Yes, my code sucks from six years ago. But I know that it sucks. That means I’ve learned something about better code since then, and that’s exciting!
Joe Posnanski, one of the greatest sports writers on the planet, made this comment at the bottom of one of his articles:
One of the most underrated talents in baseball, and probably in life, is showing up.
Absolutely. But it isn’t just showing up and hanging around the back of the room. It’s about showing up and trying to take away something new every day, every week. For six years I keep showing up, reading Apple’s docs, reviewing StackOverflow posts, working XCode. So while my code sucked six years ago, it is significantly less embarrassing today.
I hope in six years I look back and think today’s code sucks, too.