3 ms·
Monad comprehensions are not necessarily a trait of purely FP languages. Yes, in Haskell or F# (the 2 languages I've played with) ... monads are so natural you
by bad_user 16y ago
Monad comprehensions are not necessarily a trait of purely FP languages.
Yes, in Haskell or F# (the 2 languages I've played with) ... monads are so natural you don't even notice them many times. But this goes both ways, what's natural to do in Python, isn't so in other languages.
Also in this particular case you're not programming around the language ... dynamic OOP languages are all about late-binding, that's their strength. If you're using something like Python as if it were Java, you're missing on lots of useful stuff.
- pyre 16y agoSorry. My entire statement was an assumption as I have little experience with functional programming outside of fooling around with my xmonad.hs file. I was just responding with that I took from the GP comment.