News for hackers. Stuff that matters.
Re:Why People Should Learn Python by rtpg on Wednesday August 24, 2016 @09:01AM (#12351667)
As a fellow FPer who does the monadic stuff in other languages, I think it's usually more trouble than it's worth in Python. Instead, trying to use more of the python-specific language constructs can help you get what you want.

Python is pretty imperative, and the language design ethos is pretty against designing around functional programming. But if you try to absorb some of the python-specific stuff like list comprehensions, generators, and context managers, you can write some tooling to help you get a DSL a little closer to what you're used to.

There are no comments on this comment yet.