The Artima Developer Community
Sponsored Link

Python Buzz Forum
.Net, Functional Programming, and Python

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
Ted Leung

Posts: 813
Nickname: twl
Registered: Jan, 2003

Ted Leung is principal of Sauria Associates, LLC. He is a member of the Apache Software Foundation
.Net, Functional Programming, and Python Posted: Oct 20, 2003 11:40 PM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Ted Leung.
Original Post: .Net, Functional Programming, and Python
Feed Title: Ted Leung on the air : computers/programming/python
Feed URL: http://www.sauria.com/blog/computers/programming/python?flav=rss
Feed Description: Ted Leung on the air: Open Source, Java, Python, and ...
Latest Python Buzz Posts
Latest Python Buzz Posts by Ted Leung
Latest Posts From Ted Leung on the air : computers/programming/python

Advertisement
Erik Meijer is showing the relationship between C#/Java iterators and functional constructs such as fold and list comprehensions. He then points out that Python has already demonstrated how to incorporate fold and list comprehensions into an imperative langauge. I'm a fan of fold and list comprehensions, which is why I was happy to find them in Python. Meijer is right when he says
Most importantly many list transformers, including map and filter can be defined as both catamorphisms and anamorphisms, and list comprehensions are ultra sweet, but very thin syntactic sugar on top of the base language. In principle there is nothing that prevents special list transformers and comprehensions from being introduced into imperative languages as well. We know how to do it. In fact, as is the case for many other features, Python has already taken the lead in this.
When one of the designers of Haskell98 writes:
Pure functional programmers, your days are numbered. The grim reaper is knocking at your door.
somebody better pay attention.

Read: .Net, Functional Programming, and Python

Topic: Now with 10% less content Previous Topic   Next Topic Topic: HTMLifying user input

Sponsored Links



Google
  Web Artima.com   

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