On Jul 13, 1:39 pm, Anthony Kong <anthony.hw.k...@gmail.com> wrote: > (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
I'd think you'd want to at least mention the relatively new 'lru_cache' decorator, for memoizing the return value expensive functions, providing they are deterministic / pure, etc. -- http://mail.python.org/mailman/listinfo/python-list