~repos /plum

#treesitter#compiler#wasm

git clone https://pyrossh.dev/repos/plum.git

A statically typed, imperative programming language inspired by rust, python



website/src/content/docs/naming-convention.md



---
title: Naming Convention
description: Naming Convention
---
| Item | Convention |
| ------------------------ | ----------------------- |
| Modules | kebab-case |
| Types/Traits/Enum | UpperCamelCase |
| Fields/Functions/Methods | lowerCamelCase |
| Local variables | snake_case |
| Constants | SCREAMING_SNAKE_CASE |
| Generics | single uppercase letter |
## Rules
- Function parameters are passed by value only. You cannot modify a parameter. The compiler will throw an error if you try to.
- Strict naming convention
- Only one way of doing things ex: loops, condition