News for hackers. Stuff that matters.
Re:How to seem good at everything: Stop doing stupid shit by doctoboggan on Thursday August 04, 2011 @09:40PM (#2848621)
On a side note, I just watched Crockford on Javascript and he said lambda functions are the greatest innovation in computer science. Could you point me toward a resource that will explain why?
Re:How to seem good at everything: Stop doing stupid shit by nandemo on Friday August 05, 2011 @12:21AM (#2848942)
Does he really call it an "innovation"? It would be more precise to say that the lambda function is a essential concept in computer science. Lambda functions -- which is just another name for anonymous functions -- are a basic element of lambda calculus, which is one of the foundations of computer science (predating electronic computers).

In more practical terms, you need lambdas to have closures, currying and higher-order functions in general. Without that you don't have Lisp, ML, Haskell, etc.

http://en.wikipedia.org/wiki/Anonymous_function

Re:How to seem good at everything: Stop doing stupid shit by shadowfox on Thursday August 04, 2011 @09:55PM (#2848653)
I am sure there are better reads. But I found this one a decent back when I read it: http://www.cs.utexas.edu/~shmat/courses/cs345/whyfp.pdf

A lot of what that particular paper talks about is applicable to other languages that have lambda expressions in them.

Some of the examples in it does rely on lazy evaluation though. Laziness is usually encodable in most languages with lambdas. But most aren't lazy by default. Keep that in mind.

Re:How to seem good at everything: Stop doing stupid shit by jemfinch on Thursday August 04, 2011 @09:57PM (#2848657)
Search for (several) "Lambda the ultimate" papers.
Re:How to seem good at everything: Stop doing stupid shit by djm on Friday August 05, 2011 @05:30AM (#2849516)