Dune's Style Guide

I’ve recently added contribution guidelines to dune’s code base to help onboard potential contributors to dune. It’s been suggested that it would be useful to share them with the wider community so this is the purpose of this post.

Many guidelines are taken straight from Jane Street’s internal rules which shouldn’t be a surprise as the project was started by a JST employee. The intent of sharing these is not to evangelize our coding style to other projects, but perhaps inspire some of you to pick and choose the rules you like and maybe share some of your own.