Gadget Developer Guide - Style Guide

If you intend to submit your new Woopsi developments back into the main source tree, you should follow this style guide. I will reformat exceptional submissions that do not follow this style before including them. Other submissions that do not follow this style will be rejected. You may not agree with the style I have adopted (and you're welcome to let me know how I can improve it in future projects), but this project's style is set in stone.

If you are not intending to share your work, I'd strongly suggest that you still follow the style guide - internal consistency is very important.

Naming Conventions

Formatting

Structure

Coding

It is important to remember that the DS is an embedded system. You cannot follow the same approach to coding for the DS that you take for coding desktop applications. With that in mind:

I recommend looking through the existing sourcecode and following the standards laid out there.