The Artima Developer Community
Sponsored Link

Python Buzz Forum
my first recipe

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
maxim khesin

Posts: 251
Nickname: xamdam
Registered: Mar, 2005

Maxim Khesin is developer for Liquidnet. I like C++, python, attend design patterns study group/NYC.
my first recipe Posted: Sep 19, 2005 8:50 PM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by maxim khesin.
Original Post: my first recipe
Feed Title: python and the web
Feed URL: http://feeds.feedburner.com/PythonAndTheWeb
Feed Description: blog dedicated to python and the networks we live in
Latest Python Buzz Posts
Latest Python Buzz Posts by maxim khesin
Latest Posts From python and the web

Advertisement
I think it's a bit funny that I was first introduced to HOP('higher-order programming') via C++. The folks at Boost.org have done quite a bit of work in this area. Their first HOP library was (ithinks) Boost.Bind, which implemnts partial function application/currying using 'placeholders' (see site for details). I cannot imagine living without it in C++. Since Python does not have PFP I took a shot at porting Boost.Bind to Python, which ended up not being that hard, due to the abundance of reflection and hooks that are available in Python. Results here:

http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/440557

I wonder if this is the first time an HOP library was ported FROM C++ :).

PS. Tonight's Google Bounty: I just discivered that a version of 'partial function application' has been submitted as PEP 309 by Peter is coming to Python 2.5 near you! Thanks, Peter!

Read: my first recipe

Topic: Porn Star or Pop Star? Previous Topic   Next Topic Topic: Realer Than It Was Before

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use