wscript: values and types
Value (primitive) types vs reference types; let inference and annotations; string building with fmt.
Primitives (value types): int (64-bit signed, wrapping), float, bool, char, unit (()). Everything else is a reference type: string, structs, enums, List[T], Map[K, V], function values, weak[T].
rust
let x = 5 // inferred; annotations optional on lets
let name: string = "wil"
let log = "hp: " + str // + concatenates strings; str() converts
let msg = fmt // NO string interpolation — use fmt()
Value vs reference behaviour is covered in reference semantics.