Some useful coding style guides

While I’m sure I don’t always follow this advice, using a coding style guide makes sense and was something I always stressed was essential when working in teams. Even when you are working on your own using a coding style guide generates code that is much easier to maintain.

It turns out that Google publishes their own style guide, I quite like them and so I’ve published the links to them below (just the ones I’m most likely to use). All I was really missing was a style guide for Matlab and Julia so I’ve added a link to Matlab and Julia.org’s own.

Google encourages the use of TODO comments in code, a nice and consistent way of marking areas of code that need improving (TODO(user)).

R style guide

Shell style guide

Python style guide

Matlab style guide

Julia style guide

One thought on “Some useful coding style guides

Leave a Reply

Your email address will not be published. Required fields are marked *