3 ms·
Is there a simpler model out there, somewhere between Rust and Haskell, where -nobody- owns the objects and all arguments are pass-by-value unless otherwise sta
by hinkley 4y ago
Is there a simpler model out there, somewhere between Rust and Haskell, where -nobody- owns the objects and all arguments are pass-by-value unless otherwise stated or inferred?
Pure functions should be able to share objects. The problem I suspect is working out the calculus of transitioning from stateful into stateless code, but the plus side is that you end up with a programming language that enforces functional core, imperative shell.