For those that write in C/C++/Objective-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 “Tip o’the Day™ 4: Take Advantage of unions”
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 “Tip o’the Day™ 3: Use Lists to Stay Focused”
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, Mercurial, 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 “Tip o’the Day™ 2: Commit Often”
The Tip o’the Day™ series is an on-going list of light, but focused tips and suggestions on how to improve the quality of your source code. The idea here is that each entry is small enough to pickup and try immediately.
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 “Tip o’the Day™ 1: Take Advantage of Consts”