logoalt Hacker News

gkfasdfasdfyesterday at 6:58 PM2 repliesview on HN

Can you elaborate? What is it about Haskell that makes it better?


Replies

vbezhenaryesterday at 8:24 PM

Very advanced type system which allows to move a lot of program correctness to typing system. So basically if your program compiles, it probably works.

It's also has GC which makes it better suited for most programs, compared to Rust with its manual memory management.

show 1 reply
throw-qqqqqyesterday at 10:44 PM

Purely functional code is easier to test because of its referential transparency and lack of shared state.

Haskell is also nice because of quickcheck.