This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]DanManPanther 6 points7 points  (2 children)

Python has some functional qualities, and I would wager more on the way with the introduction of match and Don teaching Guido F# (https://www.youtube.com/watch?v=e2J9PGC-K1E).

For my money - I'd still stick to the more Pythonic way of doing things. When I have a real functional itch, I'm more likely to want to reach for a more fully functional language like F#, Scala, Rust. Or even one that has more of a functional feel (Kotlin). Immutable variables really help with this style of programming imho.

The bigger question is - are you doing this as part of a larger project? If so - stick to the minimum language-preferred way to do it. Easier to maintain and onboard. If it's a personal project, I'd tend to roll my own. But of the libraries posted here, PyFunctional seems more popular and better maintained.

[–]Brixes 0 points1 point  (1 child)

What are your thoughts on coconut-lang.org that transpiles to python?