C++ and the RESTful Web

by Kurt Cagle

I have a confession to make. I've never had a formal class in C++ (though I've written quite a few). At no point did I ever get a professor spend several days trying to make me understand the significance of *,**,*void, &, ., -> or all those other rather strange glyphs that make reading C++ much like trying to understand the Chicago Manual of Style with 95% of the words removed.

The other day, as I was reviewing my Stroustrup, it occurred to me that a whole lot of programmers out there, especially in the web space, as likely as not never sat through that C++ class either, and so I began a thought experiment - if your only experience to programming was web development, how exactly could you teach someone about C++ in those terms? Curiously enough, the more I dug into this conceit, the more I realized that this was actually a useful exercise in understanding some fairly deep notions about how we deal with the concept of reference in programming and on the web.

2 Comments

orcmid
2007-09-13 19:05:43
Interesting article. I wonder how well a web developer groks either side of the story, but I think it is an useful sketch.


I have been pondering your original question quite a bit lately. It is valuable to see your take on it.

Asbjørn Ulsberg
2007-09-14 00:57:26
Interesting article indeed. While I don't have much hands-on experience with C or C++, I understand pointers and think the web analogy is a good one.