Linked by snydeq on Mon 25th Oct 2010 21:23 UTC
General Development InfoWorld's Peter Wayner reports on once niche programming languages gaining mind share among enterprise developers for their unique abilities to provide solutions to increasingly common problems. From Python to R to Erlang, each is being increasingly viewed as an essential tool for prototyping on the Web, hacking big data sets, providing quick predictive modeling, powering NoSQL experiments, and unlocking the massive parallelism of today's GPUs.
Thread beginning with comment 447124
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[2]: Dawnfall of OO?
by torbenm on Tue 26th Oct 2010 07:36 UTC in reply to "RE: Dawnfall of OO?"
torbenm
Member since:
2007-04-23

Not sure about functional programming, as I'm not sure if every data reduction can simply be expressed as a transformation.


A reduction is a transformation. There are standard functions in most functional languages for data reduction. I find functional languages much better suited to complex data handling than imperative languages.

And then, you have tasks like plotting/visualization which would be cumbersome to handle as "side effects."


Some functional languages (e.g., SML, F# and Scala) treat i/o such as graphics and file access as side effects, so they work pretty much as they do in imperative languages. Other languages (like Haskell and Clean) are purely functional and handle i/o by forcing sequence on i/o operations through monads or linear types. These take some getting used to if you come from an imperative world. IIRC, Erlang uses CSP-style message passing for i/o. This, IMO, is a very natural way of doing it.

Reply Parent Score: 1