4 ms·
Functional Programming in Python
- leephillips 14y agoOne obstacle to functional programming in Python is that the libraries tend to work against you. So many functions mutate values rather than returning a result with no side effects. For example, random.shuffle() shuffles an array in place rather than returning a new array.