Quantcast
Viewing all articles
Browse latest Browse all 15

Functional Programming Example: Python vs. Ruby

I was recently reviewing some of the forthcoming changes to Python in version 2.5, and came across a nifty little bit of functional programming. As far as I can tell, there is no direct analog in Ruby, but I think I was able to come reasonably close with the code below (the Python version is [...]Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 15

Trending Articles