News for hackers. Stuff that matters.
Re:Ask HN: The best plan to learn the functional programming... by thaumaturgy on Sunday May 01, 2011 @06:55PM (#2504297)
If you're familiar with JavaScript, then some of its advanced features can "ease" you into functional programming:

1. Closures. Closures are handy for lots of things, but a lot of people (myself included) have said that they had difficulty understanding them at first. I don't know what your knowledge level is so I won't presume that you need a tutorial, but if you do, a lot of people here should be able to help.

2. Anonymous functions. You can create functions on-the-fly, you don't have to name them, then store them in a variable and call the variable.

I don't really "know" any functional programming languages, but these things are apparently common concepts in that arena, and playing around with them in a language that you're familiar with might make it easier for you.

I'd be willing to go into more detail if you'd like, or provide examples. I have tens of thousands of lines of JavaScript, and a lot of it takes advantage of JS' functional programming stuff.

Re:Ask HN: The best plan to learn the functional programming... by digamber_kamat on Sunday May 01, 2011 @07:14PM (#2504341)
I love both Closures as well ans Anonymous functions.