|
|
|
|
|
by vmchale
2125 days ago
|
|
> I do understand the basic rules of the borrow checker It ends up being doable. I dabbled in ATS, developed Stockholm syndrome, and now Rust ain't too bad. Higher-order functions are difficult in Rust or with linear/affine types in general. Haven't looked at what Rust does recently. > Should I avoid using closures all over the place? Should my code look more like C and less like Haskell? When in Rome do as the Romans :) Anyway, some fun imperative programming stuff you can do in Rust that is fickle in Haskell (or OCaml/Standard ML). |
|