Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this questionI recommended to a friend to learn some functional programming using Python to expand his knowledge and overcome programmer's fatigue.
I chose Python because that way there's a good chance he'll be able to use the new knowledge in practical daily work.
I tried to find him some tutorials, and found a lot of guides - diving deep into how to use map
, reduce
, filter
, etc., but don't provide exercises where he can learn while coding.
Where can I find a tutorial that uses functional python to solve problems while teaching?
An optimal answer for me would be homework from a functional programming course, that needs to be written in Python. Such a thing is probably rare because an academic c开发者_JS百科ourse will usually prefer a purer functional language for such work.
Maybe http://diveintopython.net/functional_programming/index.html helps.
Some other useful links are:
- Functional Programming HOWTO
- Functional Programming with Python (by Pramode C.E.)
- Functional programming with Python (by CHRISTIAN HARMS)
I was told about this website when I first started learning. It is a collection of riddles you need to solve using Python. It can be fun.
http://www.pythonchallenge.com/
It's not a literal answer to your question, but I'd recommend to your friend to practice in Javascript instead of python. With python you can do some functional programming, but most projects don't need to do much if any. Javascript really requires doing this, and is at least as common/useful of a language these days. You'll find a lot more useful educational material on closures in javascript than python.
精彩评论