Re:John Carmack on Mutable Variables
by suspended_state on Friday October 31, 2025 @11:47AM
(#45773392)
Or they got inspired by how this is done in OCaml, which was the host language for the earliest versions of Rust.
Actually, this is a behaviour found in many FP languages.
Regarding OCaml, there was even a experimental version of the REPL where one could access the different variables carrying the same name using an ad-hoc syntax.
[ Parent
| on HN ]
There are no comments on this comment yet.