That's so Rusty: Mutables

1 · Imaculate · Sept. 6, 2020, 4:37 p.m.
Given its unique nature, a lot of people are curious to know if Rust is functional. Is it? Let's find out. For a programming language to be considered strictly functional it has to adhere to functional paradigm where functions are first class citizens and shared state, mutable data, and side-effects are not allowed. For that reason, a pure function will always return the same result for the same arguments. Rust supports Object Oriented Programming, which means it allows shared state. That disqu...