The part that Rust done right but Haskell did not is familiarity, the syntax of rust is so familiar to C-family language that it’s much more easier to pick up than Haskell, although both of them shared similar concepts underneath (sum types, default immutability, trait/typeclass etc).
When I started learning Haskell, I spent way too much time parsing the code than actually understanding it (fortunately I managed to get pass it already), but when I learn Rust I just imported my JavaScript parser from my brain and it works most of the time, leaving me more time to actually understand the concept beneath (borrow checkers etc).
24
u/hou32hou Apr 15 '21 edited Apr 15 '21
The part that Rust done right but Haskell did not is familiarity, the syntax of rust is so familiar to C-family language that it’s much more easier to pick up than Haskell, although both of them shared similar concepts underneath (sum types, default immutability, trait/typeclass etc).
When I started learning Haskell, I spent way too much time parsing the code than actually understanding it (fortunately I managed to get pass it already), but when I learn Rust I just imported my JavaScript parser from my brain and it works most of the time, leaving me more time to actually understand the concept beneath (borrow checkers etc).