Level OneBeginnerMerged
Programming basics
2 bytes · ~2 min
Core ideas every programmer uses daily.
You'll learn
- A variable is a name that points to a value. Prefer const.
- A value’s type decides what you can do with it.
- Scope: a variable only exists inside the block where it’s declared.
- A function takes inputs, does work and returns a result.
- Pure functions: same input, same output, no side effects. Easy to test.