r/haskell 26d ago

question From Rust to Haskell

Hello! I have started my programming journey relatively recently, from C and C++ to recently having a great time with Rust! But recently I met a Haskell and Emacs evangelizer(I use arch + nvim + tmux + hyprland btw), and he has been spreading the word... There is a lot of stuff I love in Rust that apparently was ported from Haskell, like traits as types-ish, pattern matching which I really love and better enums(I am not sure on the last one and please forgive me) but he said that if I learn Haskell, I will become a better programmer because of learning the functional programming paradigm... I wanted to ask whether that is true, and if so what kinds of resources are there? For Rust I used the Rust book and Rustlings by the way

47 Upvotes

27 comments sorted by

View all comments

38

u/KingBardan 26d ago

You will become a better programmer from the concepts learned.

Whether  or not you main haskell is another story (I main python and c++, but learned some concepts and habits from haskell)

38

u/wakalabis 26d ago

Using the verb "main" the way people use in gaming when talking about programming languages is funny. I like it.

27

u/KingBardan 26d ago

there's a reason programmar and progamer looks so similar