Over the years, in my journeys through the world of web development, I have cursed JavaScript many times. It can be a downright cold-hearted bitch to work with. Granted, things have gotten better in recent years with the advent of tools like Firebug, but there is still plenty of pain, misery, and suffering to go around. As a user however, I celebrate the very existence of JavaScript and the innovation that it has enabled to make our overall experience as users more rich and more enjoyable (DOM Manipulation, AJAX/XmlHttpRequest, and all of the wonderful libraries out there).
Read more…
In my limited experience with COM, I have noticed that there is almost nothing written about TDD in relation to COM. Granted, it is an older technology that was developed primarily before agile development and TDD methodologies were widely accepted, but development of COM objects is interface based, which lends itself to mocking. Knowing that much, I figured it shouldn’t be any more work to create mocks of COM interfaces than it would be to mock any other C++ interface (purely abstract class). Once I stumbled upon GoogleMock, this seemed to be a perfectly sufficient tool to get the job done (which it was). After all, a COM interface is just a collection of abstract methods in the same way that a typical C++ pure abstract class is. Why should creating a mock object for a COM interface be any different or more difficult? It turns out that my initial thoughts were completely wrong.
Read more…
To great fanfare and potential critical acclaim, The Holzerian Nation makes a triumphant entrance in to the blogosphere. Anything and everything will be fair game, but seeing as this is my little slice o’ the Internet, expect to see a lot of ramblings about programming, music, eating, drinking, sports, movies, TV, a small dose of politics (gotta do something to piss people off), literature, and perhaps the occasional tale of ribaldry.