News for hackers. Stuff that matters.
Re:The fate of reduce() in Python 3000 (2005) by studentik on Tuesday January 01, 2019 @09:56AM (#18800397)
Coconut has many examples of functional programming techniques that cannot be easily done with python: https://coconut.readthedocs.io/en/master/DOCS.html

Strangely FP is not popular among python developers.

Re:The fate of reduce() in Python 3000 (2005) by danharaj on Tuesday January 01, 2019 @10:36AM (#18800531)
It's a pain in the ass to write functional code in python because the syntax is not optimized for it. A functional programming language makes lambda and (partial) application as cheap as possible, which Python does not.
Re:The fate of reduce() in Python 3000 (2005) by AlexCoventry on Tuesday January 01, 2019 @02:59PM (#18801945)
I think you can get 95% of the benefit of FP just by favoring abstractions which present a functional interface. Python hasn't really gotten in my way, in that respect, though it would be nice to have first-class persistent data structures with structural sharing.
Re:The fate of reduce() in Python 3000 (2005) by mlevental on Tuesday January 01, 2019 @02:23PM (#18801749)
is coconut used in production? seems like a really bad idea?
Re:The fate of reduce() in Python 3000 (2005) by studentik on Tuesday January 01, 2019 @08:13PM (#18803493)
It's python after all, so why not?