About Me

Hi. I'm Josh Ols. Lead Graphics Developer for RUST LTD.


View Joshua Ols's profile on LinkedIn

« RSRM Enhancements | Main | Update (4-27-2011) »

Coding Style

Sorry for the lack of updates folks. Sadly, my lengthy job search on top of my regular work hours has been eating a lot more time than I could have imagined. As a result, I haven't been able to get much work done on my new project. However, I have been doing a lot of planning to make my next project far more portable and maintainable.

In particular, I have taken a keen interest in finding a coding style, and using it throughout my new project. For those who took the time to look through the code for my Cubism Demo, let me apologize right now. That code is packed with unfinished experiments and ideas that broke down as the project grew. It may work, but it should not be considered an example of good coding style!

That having been said, I have been taking what I learned from that little excursion, and have been building on it. Below I have listed a few extremely handy resources I have found that offer plenty of insights into good coding style. I highly recommend them for anyone wanting to improve their coding practices. ;)



[1] Google C++ Style Guide

[2] wxWidgets Programming Style Guide

[3] Windows to UNIX porting, Part 2: Internals of porting C/C++ sources

[4] C++ Frequently Questioned Answers

[5] Unity builds

[6] Doxygen


Example code:

I've attached some examples of my latest coding style that implements everything I have learned up to this point. If you would be so kind, I would be most appreciative if you would look over them and leave comments. Thanks.




PrintView Printer Friendly Version

EmailEmail Article to Friend

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
All HTML will be escaped. Hyperlinks will be created for URLs automatically.