Functional style programming in python: what will you talk about if you have an hour on this topic?
J Kenneth King
james at agentultra.com
Wed Jul 13 09:50:42 EDT 2011
Anthony Kong <anthony.hw.kong at gmail.com> writes:
> (My post did not appear in the mailing list, so this is my second try. Apology if it ends up posted twice)
>
> Hi, all,
>
> If you have read my previous posts to the group, you probably have some idea why I asked this question.
>
> I am giving a few presentations on python to my colleagues who are mainly java developers and starting to pick up python at work.
>
> <personal opinion>
> So I have picked this topic for one of my presentation. It is because functional programming technique is one of my favorite in my bag of python trick. It also takes me to the rabbit hole of the functional programming world, which is vastly more interesting than the conventional procedural/OO languages.
> </personal opinion>
>
> I think I will go through the following items:
>
> itertools module
> functools module
> concept of currying ('partial')
>
>
> I would therefore want to ask your input e.g.
>
> Is there any good example to illustrate the concept?
> What is the most important features you think I should cover?
> What will happen if you overdo it?
>
>
> Cheers
You might also want to cover gotchas like Python's references.
If you have the time I'd introduce weakref too.
More information about the Python-list
mailing list