views:

188

answers:

3

I have been experimenting with functional programming and I still dont understand the concept. Do you guys know any good books or tutorials or examples that discuss this concept? Or if you could show small snippets about its usage, that would be great.

+4  A: 

Learn lisp or scheme. The language is the datastructure is the language. Lisp code and Lisp data structures have the same syntax rules.

If you learn tcl, you can work with a language that's procedural and the data structure syntax rules are the same as the programming language syntax rules.

It's not -- strictly speaking -- a functional programming issue. It's more an issue with a few languages where the syntax rules for data and the syntax rules for the language are the same.

S.Lott
+2  A: 

I believe that Why Functional Programming Matters by John Hughes is one of the best.

Regards, Johan Kullbom

Johan Kullbom