Auryn simulator

Simulator for spiking neural networks with synaptic plasticity

User Tools

Site Tools


manual:coding_style_guide

This is an old revision of the document!


Naming conventions

On the long the Auryn code should follow Googles naming conventions because there seems to be some kind of consensus on those. https://google-styleguide.googlecode.com/svn/trunk/cppguide.html

However, currently the code only enforces these conventions in part. Here are some naming conventions in Auryn which seem to have emerged over the years. Most of them are in line with the Google style.

Variable names in the code should be named all lower case with underscores_where_necessary.

Class names should be in CamelCase starting with a capital letter. Classes should be defined in their own .h .cpp file combination which should carry the same names and case.

Class instances either variable case or camel case with the first letter being a small letter.

Macro names ALL_CAPS_WITH_UNDERSCORES

manual/coding_style_guide.1435860889.txt.gz · Last modified: 2015/07/02 18:14 by zenke