|
|
|
|
|
by bluecalm
2895 days ago
|
|
I love functional style and I think Python is very friendly to that style. You can make pure functions. You can use classes as store of values. Pass values and functions around as they are first class citizens. That you need some local state to implement a pure function isn't a problem as you can limit it to very simple things. Anonymous functions are not something you need either, just give it a name and pass it, wtp? I agree most of the "Python is not functional enough" criticism comes from people who just want as pure FP as possible. |
|