A naming convention is a set of rules used to standardize how code is written.
Structs, traits, and enums are CapitalCase which means each word has a capitalized first letter. The fields inside a struct should be snake_case and CapitalCase inside an enum.
{{#include ../../../code/language/style-guide/letter_casing/src/lib.sw:structures}}Modules, variables, and functions are snake_case which means that each word is lowercase and separated by an underscore.
Module name:
{{#include ../../../code/language/style-guide/letter_casing/src/lib.sw:module}}Function and variable:
{{#include ../../../code/language/style-guide/letter_casing/src/lib.sw:function_case}}Constants are SCREAMING_SNAKE_CASE which means that each word in capitalized and separated by an underscore.
{{#include ../../../code/language/style-guide/letter_casing/src/lib.sw:const}}