John Lam 1997 — 2026

Holiday reflections

I’m writing this piece after my family has gone to bed on Christmas eve. I’m in a rather reflective mood, so I thought that I’d take a moment to look back over the previous year.

Earlier this week, I noticed that Dan Dunham has written a number of interesting pieces on his StrangeCoding weblog which reflect back upon lessons that he has learned in the previous year. I loved the idea (and his entries), so I thought I’d contribute my $.02 here.

The most important thing that I learned this year was the importance of always keeping an open mind. While this should be obvious, it certainly wasn’t obvious to me earlier this year. Let me explain.

For the past few years, I was a COM/C++ dev who (naturally) switched to being a CLR/C# dev. Both of those two communities that I belong to are highly Microsoft-centric. They, like any other type of community, tend to be self-referential. Folks that hang out in those communities tend to have similar opinions, and tend to exclude folks who have different opinions (perhaps not intentionally, but the net effect is the same - folks with different opinions tire of the fight and move elsewhere).

My participation in those communities shaped much of my world-view on software development. I submit as an example my belief in the superiority of strongly typed languages. I was responding to a piece that Dave McCusker wrote that was critical of strong typing(and by extension to WSDL, but I won’t go there right now). In the spirit of Sam Gentile’s recent public retraction on his strongly worded statement about COM interop being fundamentally broken, I would like to say that I now realize how wrong I was to believe that strongly typed languages were inherently superior. Dave is quite correct in asserting that strongly typed languages can be viewed as a crutch. I also realize that I had offended Dave with my strongly worded biases. For that I would like to publicly apologize.

One thing that has really helped me in my personal development this year are some friends who live outside of those communities. They tend to poke and prod me at different times to try and think differently. I am rather stubborn though, and have successfully resisted their efforts until this year. Fortunately for me, this year has probably been one of the most important years of my professional development, and this was all due to a few key events.

The first event happened about a year ago, was when I first got my method interception prototype up and running for the CLR. That lead me on a several-month long trip into the Aspect-Oriented Programming community, which culminated in my presentation of my work at the AOSD 2002 conference. I learned a lot of interesting lessons by participating in that community. I learned about the problem space that AOP was trying to solve. I subsequently got very excited over the prospects of AOP as a general-purpose software development technique. And and then there was the eventual letdown when I realized that the development world probably isn’t ready to handle that level of abstraction. It was an interesting roller-coaster ride emotionally, but one that I would do again because of the lessons that I had learned by taking it. I met a lot of really smart people in both the AOP and the Intentional Programming worlds, and am so much more better off because of these experiences.

The second event happened a few months ago, when a friend convinced me that code-generation was actually a good thing. My experience with “wizards” in VC++ had almost convinced me otherwise, but by keeping an open mind, I was able to generate some very interesting software using my code generation tools. I am now a convert to code generation as a means of manageably working at higher levels of abstraction. It’s not applicable everywhere, but it is extremely useful in certain types of projects, much like Yacc / Bison and ANTLR are extremely useful tools whenever you need to do lexical parsing.

The third event hopefully begins sometime late this week or early next week when my beauty new TiBook G4 867 arrives. This marks the beginning of my foray into an entirely new world of Mac OS X, and the Objective C programming language. My primary goal in getting the TiBook is to learn how the Mac community thinks about software development, and how it differs from the way the Windows community thinks about software development. I think it will be a great experience, and am chomping at the bit to further expand my software horizons.

Finally, for anyone who has actually read all the way down to the end of this rambling self-reflection essay, I would like to wish you a Merry Christmas and I hope you all have a great holiday beholden with many cool geek presents (I just got this great binary clock from the fine folks at Wintellect)! And I hope that my experiences might convince some of you to try something radically different this upcoming year. If so, I’d love to hear about it!