# VectorNav C++ Library: Conventions

Conventions

This page details the conventions used throughout the VectorNav C++ Library.

# Class/Struct Naming

Simple and copyable classes/structures are named using lower-case with underscores. For example, the 3-component vector data type using floats is called `vec3f`. For more sophisticated classes which generally are not copyable, these are named using camel-case. The cross-platform serial port class is named `SerialPort`.