by knitHacker · 7y ago · 0 comments
I didn't really understand monads until I ran into really long / repetitive / ugly code when writing Haskell and then reading a book and realizing they could be used to simplify the parts of my code that frustrated me.
I think the biggest reason they are useful is because data and the container around it can be treated independently and gives a good common interface for container behavior.
No comments yet.