Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Functional Programming with Python

 
Michael Enudi
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are the major plus of using functional programming and what are the biggest plus of using it in our coding style.

Regards.
 
chris webster
Bartender
Posts: 2407
32
Linux Oracle Postgres Database Python Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can't tell you anything about Python specifically, but Rich Hickey (author of Clojure) gave a great talk on "Simple Made Easy" with reference to functional programming. Definitely worth watching to understand the potential benefits of FP, whichever language you plan to use.
 
Sumit Bisht
Ranch Hand
Posts: 331
Python Ruby Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Python fits into the concept of functional programming by itself as it has lot of language constructs that aid in doing this.
Generally, as your code becomes pythonic, it will contain certain amount of functional programming constructs/approaches. http://docs.python.org/howto/functional.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic