Follow me on Twitter | Subscribe by: Email / RSS
Here's a super-simple way to gently remind your users that a new version of your app is available.
Continue reading...Sunday, November 21, 2010
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...Monday, November 15, 2010
Here's an extension to sprintf() that will help with localization.
Continue reading...Tuesday, July 6, 2010
When it comes to reading code (mine or someone else’s, it doesn’t matter; reading is reading), I have a really short attention span. I don’t want to spend a lot of time analyzing the code to figure out what it’s doing. I want to treat the code just like the sun: glance to get a sense of it, and then look away. This is especially true when debugging. Most of the time you spend debugging is trying to find the cause of the problem. Once you have found the cause and collected your data/evidence, the actual task of fixing the problem is pretty trivial. When I debug, I’d like to instantly know what the code is doing. Any extra time I spend figuring out what the code is doing is really annoying, even if it’s just a few seconds. Here are some things I’ve learned over the years that could help you save time. Some might see this as another “coding style” article, but it really isn’t. It’s merely a list of things you can do when writing code to help you in your debugging efforts.
Continue reading...Tuesday, June 29, 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...
Saturday, December 4, 2010
9 Comments