Archive for the 'Programming' Category
Thursday, May 17th, 2007
I have made an observation the other day about a curious correlation between Test Driven Development (TDD) and what is nowadays called the “Law of Attraction”. This law roughly states that you will attract into your life whatever things or circumstances you repeatedly think about and desire. While I don’t agree with how this concept [...]
Posted in Law of Attraction, Programming, TDD, testing | No Comments »
Thursday, September 21st, 2006
Yesterday I listened to ‘Burning Down the House: Game Developers Rant’, available here. It is the recording of a panel that was held last year at the Game Developers Conference and it became very popular, because big game industry names were cursing our industry, and they also used “fuck” a lot, apparently previously [...]
Posted in Gaming, Programming, c++, gamedev, games industry, rant | 7 Comments »
Monday, August 14th, 2006
I recently implemented “picking” in the publicly available parts of the Doom 3 engine.
Picking in 3D games (or applications) means that the mouse cursor position is mapped to the 3D world in such a way that the mouse can be used to “pick” up objects in 3D space. In this post I would like to [...]
Posted in Doom3, Gaming, Programming, TDD, c++, idsoftware, testing | No Comments »
Monday, July 3rd, 2006
Allow me to gleefully report that I have integrated my unit testing framework into the Doom 3 engine.
I have previously used this framework to run unit tests via a simple text interface. Tests are easily defined using a simple set of macros and automatically enumerated. Now, whenever my modified version of Doom 3 starts [...]
Posted in Doom3, Gaming, Programming, TDD, c++, idsoftware | 3 Comments »
Sunday, June 18th, 2006
When looking for X-Macros on Google, the only reference I came across was this one (ddj.com), which is also the place where I happened across X-Macros by accident (in the printed version of the magazine). I have since put them to great use in production code.
What are X-Macros? They are basically a clever way to [...]
Posted in Preprocessor, Programming, TDD, X-Macros, c++ | 6 Comments »