Skip to content

Commit b474a67

Browse files
authored
Create functional-programming.md
1 parent 8b55956 commit b474a67

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

doc/functional-programming.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[<-- Return to index](../README.md)
2+
# Functional Programming
3+
4+
### Does the language support functional programming?
5+
#### PHP
6+
[Yes](http://www.phptherightway.com/pages/Functional-Programming.html), because PHP allows the passing of function references. Accordingly, PHP has iterative abilities and factory/generator classes can be implemented.
7+
#### Python
8+
[Yes](https://docs.python.org/3.6/howto/functional.html), Python offers several features that allow for functional programming. Namely, [iterators](https://docs.python.org/3.6/glossary.html#term-iterator) and [generators](https://docs.python.org/3.6/glossary.html#term-generator).

0 commit comments

Comments
 (0)