←back to thread

389 points kurinikku | 1 comments | | HN request time: 0.201s | source
Show context
richrichie ◴[] No.42164857[source]
Has anyone read the new SICP with Javascript as language of choice?
replies(3): >>42165037 #>>42165082 #>>42165465 #
0xpgm ◴[] No.42165082[source]
Isn't scheme with close to zero syntax so easy to learn?

Why did someone think it was a good idea to switch to JavaScript?

I think the person who'll get value out of SICP will not have any problem picking up scheme syntax on the fly.

replies(5): >>42165182 #>>42165278 #>>42166724 #>>42168084 #>>42168675 #
1. wonnage ◴[] No.42166724[source]
JS is easier to read IMO. And of the widely-used interpreted languages I can think of, it's actually got the least confusing implementation of first-class anonymous functions. Python lambdas are limited to one expression, Ruby has that confusing block vs. proc vs. lambda problem, etc.

I do feel like the value of using Scheme is teaching students early on that syntax doesn't really matter. Those that are actually interested in CS theory will find this enlightening, those that are simply in it because investment banking is so 2007 will churn out.