Brian’s 10 Rules for How to Write Cross-platform Code

I would tend to agree with almost everything in this article.