I watched this video because I was interested in Rust, but the side-by-side comparisons of code snippets versus Haskell just sold me on Haskell. If something needs speed optimization, then isolate that piece of code and optimize it only, keeping all of the rest of the code so much more readable and maintainable, rather than switching entirely to a low-level language and dealing with all that extra unreadable crap throughout the entire codebase.
4 жыл бұрын
Rust syntax is ugly compared to Haskell
@TheSulross
3 жыл бұрын
Rust doesn't have as nearly a religious fixation as Haskel does; Rust will continue to ascend and Haskel will continue on as a cult
@zoltantoth1566
5 жыл бұрын
type inference, pattern matching, "trait-based generics", zero-cost abstractions have almost nothing to do with functional programming
@davidste60
5 жыл бұрын
Which FP language are you thinking of?
@zoltantoth1566
5 жыл бұрын
any; that is my point; functional programming is a paradigm, not a particular set of languages; a feature should not be considered to be a functional programming feature just because it tends to be provided by some functional languages [haskell, ml]
@davidste60
5 жыл бұрын
True, but most of those features are helpful for tracking mutability, which is a major concern of functional programming and of Rust.
@zoltantoth1566
5 жыл бұрын
do you realize that you just claimed that type system is a functional programming feature ?
@davidste60
5 жыл бұрын
Read it again.
@chalmagean
4 жыл бұрын
Like umm, like aaa, like, um, like... nice talk!
@Alkis05
4 жыл бұрын
It's hum, like aaa, as if it was one of her first lectures.
Пікірлер: 14