11 karma · joined Jul 29, 2018 (8y ago) · 4 submissions
comment 7y ago · link · parent
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.
comment 7y ago · link · parent
My SO and I each make 6 figures each and will only own a car once we move out of Manhattan because no matter how inconvenient it is it's not fiscally responsible.