(These are my notes from https://doc.rust-lang.org/book reading)

Variables are immutable by default. If you wanted to mutate it, it should be declared as mutable with:

let mut my_variable

You can override the definition of a variable (shadowing):

let my_variable = String::new();

// Some code

let my_variable: u32 = 12;

There are some differences between an immutable variable and a constant:

const MAX_POINTS: u32 = 100_000;

Integer types

Floating-point numbers default value is f64

Arrays have a fix length and can store values of the same type