Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Functional programming ?

by dk (Chaplain)
on Apr 17, 2009 at 13:58 UTC ( [id://758234]=note: print w/replies, xml ) Need Help??


in reply to Functional programming ?

Reading about monads was the last straw for me back then when I was dissatisfied with the existing async I/O frameworks. Especially I didn't like it when I needed to implement process flows, that may consist of several orderless callbacks, such as on_read, on_timeout, etc etc, where it was too easy to lose control which callback is executed after which. Or, f.ex. trying to maintain a consistent timeout between the stages. Different stuff.

Monads in particular gave me an insight about how I can force order in such a set of callbacks. As a result, I've done a yet another framework IO::Lambda, which borrows ideas heavily from functional programming (including monads too).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://758234]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2024-04-20 05:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found