Naming
The naming conventions for Loop which was heavily inspired by Rust's naming conventions.
These conventions were discussed under the following ADR: https://gitlab.com/looplanguage/loop/-/tree/main/docs/adr/approved/naming-convention.md
In general, Loop tends to use CamelCase
for "type-level" constructs (types and traits) and snake_case
for "value-level" constructs. More precisely:
Item | Convention |
---|---|
Modules |
|
Classes |
|
Enums |
|
Functions |
|
Methods |
|
Local variables |
|
Static variables |
|
Constant variables |
|
Type parameters | concise |
Last updated