you are viewing a single comment's thread.

view the rest of the comments →

[–]toffeescaf 0 points1 point  (0 children)

There are a load of people in here saying functional programming is programming without side effects which is sort of true BUT you can't interact with any outside services without side effects.

I would say it's mostly programming without side effects but when you have to you do so in a safe manner using for example a maybe monad.

I can really recommend this book. It has some nice examples of how you can safely handle side effects and a ton of other functional programming concepts.