Talk:Functional programming: Difference between revisions

Content deleted Content added
No edit summary
Line 159:
 
http://en.wikipedia.org/wiki/Functional_programming#D <- Why is D chosen as an example of an imperative language that also does functional programming? This trend of filling all Wikipedia pages with advertisements of D makes me vomit. I don't see any reason why D should be considered in this context. It's an unpopular language without formal semantics.. The language author didn't even know what higher order functions are some years ago (see Jon Harrop vs Walter Bright). [[Special:Contributions/84.250.47.87|84.250.47.87]] ([[User talk:84.250.47.87|talk]]) 03:00, 17 February 2015 (UTC)
 
== First-class functions and Python ==
 
<blockquote>First-class functions have slowly been added to mainstream languages. For example, in early 1994, support for lambda, filter, map, and reduce was added to Python. Then during the development of Python 3000, Guido van Rossum called for the removal of these features.[44] However, he later changed his mind, and only reduce was removed,[45] though it remains accessible via the functools standard library module.[46]</blockquote>
 
This seems to equate first-class functions with lambda, map, and filter. Even without those, Python treats functions and methods as objects. --[[Special:Contributions/72.226.86.106|72.226.86.106]] ([[User talk:72.226.86.106|talk]]) 18:31, 10 July 2015 (UTC)