DEV Community

Aimeri Baddouh
Aimeri Baddouh

Posted on

Good projects for learning functional programming

It seems like functional programming is getting a lot of attention these days, and I'm not immune to the hype train. I've been getting started with Elm, and have started learning a little bit of Haskell and Elixir, but I would love to have a few concrete, easy for beginners, projects to start getting familiar with this new paradigm.

In Elm I already have a few projects I had worked on while learning Javascript so I'll try implementing those in Elm as well. Things such as tic-tac-toe, flip card games, and so on.

However, since I tend to be more front-end focused, it is always a little hard for me to think of good back-end projects, so for you folks that have been focusing on back-end, especially with a functional language, what would be good projects in your opinion?

Discussion (7)

Collapse
shadid12 profile image
Shadid Haque • Edited on

hi @Aimeri I was in the same boat as you and I would suggest you start with Composing Software by Eric Elliott. Feel free to follow me as well, I am also sharing articles/tutorials on Functional Programing with JavaScript.. Cheers 🥂

Collapse
luismed15971068 profile image
luis medina

hello , are you talking about a book? I am also looking to apply I have learned from Haskell, excuse me My pseudo-English

Collapse
aimerib profile image
Aimeri Baddouh Author

That book looks really good! Thank you for the suggestion.

Collapse
sleepyfran profile image
Fran González

In the backend I'd recommend that you checkout Elixir/Phoenix projects, there're tons of them. I got started by reading Programming Phoenix which is an amazing read, full of great examples. I also found some amazing projects along the way: Changelog.com, Accent, even Hex!

Collapse
aimerib profile image
Aimeri Baddouh Author

Thank you for the suggestions! What about those projects in particular make them good for beginners?

Collapse
sleepyfran profile image
Fran González

Personally I always found a lot of resources about functional programming lacking real life examples. It's not going to be easy to open a big project like Hex or Changelog and actually understand it, but it'll help you see the bigger picture of how to compose things functionally and I think that's a very good thing to have once you're past the basic things and want to build something real!