MarcelLZ / barbecue-company

Have fun!
2 stars 0 forks source link

Functional programming #76

Open lucasconstantino opened 6 years ago

lucasconstantino commented 6 years ago

I haven't found many examples of functional code in your project. Could you tell us how familiar are you with this programming paradigm? And can you point any pros and cons of using it?

lucasconstantino commented 6 years ago

Related to #75

MarcelLZ commented 6 years ago

As you can see, I need to improve it, a lot :D Everybody said to me to start reading this book: Haskell Book - hmm look, I just found a free course: Haskell:udemy

MarcelLZ commented 6 years ago

What do you think? Is Haskell a good beginning?

lucasconstantino commented 6 years ago

Haskell is definitely a great way to learn the concepts, as this is a purely functional language. But I think it's important to try what you learn in terms of concepts on other mainstream languages, such as JavaScript or even PHP. They usually depend on helper libraries, so it's kind of more complicated.

lucasconstantino commented 6 years ago

@marcosvlehmkuhl any opinion on this?

MarcelLZ commented 6 years ago

The inverse way is true too, no? You can learn the concepts, and after that, to try to apply it on other mainstream languages, even because you need to know the concepts to try to apply it :D

marcosvlehmkuhl commented 6 years ago

This website is also great http://learnyouahaskell.com.

lucasconstantino commented 6 years ago

@MarcelLZ exaclty, I mean you may learn on Haskell, but shortly after you should apply on other languages ;)

MarcelLZ commented 6 years ago

Hmmm... I got it :D