Hacker News new | past | comments | ask | show | jobs | submit login

John McCarthy's videos are rare and it's great to see him talking. It's been said that LISP (alternatively J. McCarthy) borrowed the concept of functional closures from APL in mid 60's, that is McCarthy was not the original thinker of closures.



Do you mean PAL, not APL? (PAL's initial implementation was in Lisp, FWIW.) http://en.wikipedia.org/wiki/Closure_%28computer_programming...

My (probably bad) knowledge of history is that the Lisps didn't do lexical scoping particularly well until Scheme. (Hopefully I don't have a false sense of "closures" vs. "lexical scoping".)


Yes I meant APL, not PAL. By functional closures, I tried to mean functions as first-class objects, i.e. ability to pass them as arguments or store them in data structures, etc.

I had read this in an article about Ruby, AFAIK. It was talking about Ruby (or alternatively "Matz") borrowing many principles from LISP and there the author had mentioned Lisp's functions being first-class objects were adopted from APL. I should find that article to clear the things up.


Steele interviews McCarthy, a really nice interview http://www.infoq.com/interviews/Steele-Interviews-John-McCar...


I don't think old APL's had first class functions.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: