Linked by Thom Holwerda on Wed 19th Jul 2006 16:29 UTC, submitted by anonymous
General Development Object-oriented programming with imperative languages like C, C++ and Java has been the norm over the years. But some visionaries argue that other paradigms are more productive. In imperative languages, any method that can possibly return different values, given the same input, has side effects. This article explores the basics of functional programming using Haskell. You to can come to appreciate the raw productivity and power that a functional language can provide and how it eliminates programming side effects.
Thread beginning with comment 144838
To view parent comment, click here.
To read all comments associated with this story, please click here.
John Nilsson
Member since:
2005-07-06

What the functional programming world needs is a champion app of sorts. Just to show the tech world that functional programming can be used outside of academia, and possibly make software development easier and more efficient with functional programming.

What the functional programming world need is a good resource for learning the shit that doesn't deal with quicksort and other useless algorithm wanking.

If anyone has any good links where you can learn patterns and idioms for information systems programming along with a functional language. I'd be be very interested.

Reply Parent Bookmark Score: 1

kamil_chatrnuch Member since:
2005-07-07

ok, it's not haskell, but i hope it helps:

Erlang is a general-purpose concurrent programming language and runtime system. the sequential subset of Erlang is a functional language, with strict evaluation, single assignment, and dynamic typing. It was designed in the company Ericsson to support distributed, fault-tolerant, soft-real-time, non-stop applications. it supports hot swapping so code can be changed without stopping the system/program.

real word examples
a simple ftp server, ftp client, mini-os, etc.:
http://www.erlang.org/examples/examples-2.0.html

a simple mines game, time server, ftpd, find, wc, etc.
http://www.erlang.org/examples/klacke_examples/index.html

a simple telnet client, tetris, etc.
http://www.erlang.org/examples/small_examples/index.html

as for tutorials:
4days introduction to Erlang with examples
http://www.erlang.org/course/course.html

part one of the Erlang book
http://www.erlang.org/download/erlang-book-part1.pdf

Joe Armstrong's excellent PhD thesis
http://www.sics.se/~joe/thesis/armstrong_thesis_2003.pdf

the distribution of the language together with libraries and a real-time distributed database (Mnesia) is known as the OTP [Open Telecom Platform]. to download it, go to http://www.erlang.org/download.html

last but not least, the erlang video ;-D
http://video.google.com/videoplay?docid=-5830318882717959520

Edited 2006-07-20 19:49

Reply Parent Bookmark Score: 2

John Nilsson Member since:
2005-07-06

Thanks for the links. I'll look into it.

Reply Parent Bookmark Score: 1