Follow me on Twitter | Subscribe by: Email / RSS
For those that write in C/C++, you might already know that unions are a good way to store data efficiently. Using the power of unions, you can leverage their functionality by accessing data more easily. Here’s a Tip o’the Day to show you how.
Continue reading...3 August 2010
I needed a break after writing the giant two-part series on fog of war so I decided that this week will be a light productivity tip: maintaining focus by using lists. I don’t mean linked lists or anything else programming-related. I mean an actual, tangible list of things that need to be done. It seems really common sense but I’m still surprised at how effective they are for keeping one’s mind focused.
Continue reading...13 July 2010
I will assume that you’re using a revision control system of some kind. If you’re not, you really, really need to. Even if you’re the only person on the project, you need to use something. Whichever system you use, be it Subversion, CVS, Git, etc., there are a few subtle, but significant differences in how you use it that can have a tremendous impact on productivity. I’ll show you a few techniques on how to use your system more effectively.
Continue reading...29 June 2010
Conditionals and Consts Here’s something you might not have thought about doing with your conditionals. I came across this quite some time ago and I gave it a try because I thought it made sense. Now it has become a habit so I do this all the time. It's not a drastic change from your existing coding habits and it doesn't require much effort, but it will help you find errors in your code more quickly.
Continue reading...
21 November 2010
1 Comment