Live data from Hacker News

Structure and Interpretation of Computer Programs Video Lectures (1986)

ocw.mit.edu

51–52 of 52 posts

Re: Structure and Interpretation of Computer Programs Video Lectures (1986)

#52
post #23

Earlier quoted context omitted.

I'll add another recommendation for Scheme. The concepts in SICP map very well into Scheme, whereas I can only imagine them being awkward and non-idiomatic in JS. There's lots of passing around first class functions and use of recursion. One of the two professors (Dr. Sussman) that give the lectures in this series is a co-creator of Scheme.

> I can only imagine them being awkward and non-idiomatic in JS You don't have to imagine, you can look at the code used in the JS version and it goes through some fun contortions to get around the fact that JS is not expression oriented (like Scheme). This is from page 35 (PDF: https://sicp.sourceacademy.org/sicpjs.pdf ): function count_change(amount) { return cc(amount, 5); } function cc(amount, kinds_of_coins) { r…

this is very helpful! thank you!
Post reply on HN