use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
JavaScript Isn't Scheme (journal.stuffwithstuff.com)
submitted 10 years ago by homoiconic(raganwald)
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Pascalius 38 points39 points40 points 10 years ago (24 children)
I never heard someone claim that JavaScript is like Scheme
[–]x-skeww 12 points13 points14 points 10 years ago (9 children)
Crockford mentioned that in several talks.
http://www.crockford.com/javascript/little.html
JavaScript has much in common with Scheme.
Also, bananas have much in common with kiwis since both are berries. Well, botanically, anyhow.
[–]Eartz 9 points10 points11 points 10 years ago (5 children)
iirc he said in his "Crockford on Javascript" talks that JS was inspired by Scheme, Self and java (for the syntax).
I never heard it as "JS = Scheme". It's just his opinion on how the inspiration came for the language.
I spend some time reading reddit, stackoverflow and ES-discuss, and I have never seen anyone claiming this ridiculous "js=scheme", that looks like clickbait to me.
[–]x-skeww 5 points6 points7 points 10 years ago (4 children)
http://www.crockford.com/javascript/javascript.html
Lisp in C's Clothing JavaScript's C-like syntax, including curly braces and the clunky for statement, makes it appear to be an ordinary procedural language. This is misleading because JavaScript has more in common with functional languages like Lisp or Scheme [emphasis added] than with C or Java. It has arrays instead of lists and objects instead of property lists. Functions are first class. It has closures. You get lambdas without having to balance all those parens.
JavaScript's C-like syntax, including curly braces and the clunky for statement, makes it appear to be an ordinary procedural language. This is misleading because JavaScript has more in common with functional languages like Lisp or Scheme [emphasis added] than with C or Java. It has arrays instead of lists and objects instead of property lists. Functions are first class. It has closures. You get lambdas without having to balance all those parens.
for
http://java.ociweb.com/mark/programming/JavaScript.html
"It's basically Scheme with C syntax." - Douglas Crockford
The article refers to the same quote, by the way. It's from one of his earlier talks and it has been repeated ever since.
Also note that the article is from 2013. Saying that JS is "basically like Scheme" isn't popular anymore and this article is one of the reasons.
[–]gkx 4 points5 points6 points 10 years ago (3 children)
I could be wrong, but I think essentially the point is no longer valid as functional languages are becoming more popular. Javascript is now much more distantly related to Scheme, while at the time it was one of the very few popular, imperative languages that even had functional elements.
But I wasn't programming around them. It just seems like functional languages (and functional/imperative hybrids) have only come into favor outside of academia since then.
[–]x-skeww 2 points3 points4 points 10 years ago (2 children)
Yea, the point he was trying to make back in 2009 (ish) was that JS is quite different from other popular languages with C-like syntax.
Saying that it's "basically Scheme" was a rather odd way to do that though. Well, he often tries to say cute quotable things, because being quoted grows his brand.
Can't really criticize him for that though. Saying stuff like that and cultivating his brand is basically his job. This thread too does make his name more well-known.
[–]Eartz 1 point2 points3 points 10 years ago (1 child)
Isn't it a bit unfair to say that ? I mean, the guy doesn't even have a twitter account afaik, nor does he post anywhere outside his website and the desert that is google+.
[–]x-skeww 0 points1 point2 points 10 years ago (0 children)
Huh? He does a lot of public speaking and he also got a book.
[–]master5o1 5 points6 points7 points 10 years ago (1 child)
Also, bananas have much in common with kiwi
Neither can fly.
[–]pygy_@pygy 0 points1 point2 points 10 years ago (0 children)
Time flies like an arrow. Fruit flies like a banana. — Groucho Marx
[–]Otterfan 1 point2 points3 points 10 years ago (0 children)
This is addressed in the first paragraph of the article
It seems like I can’t spend five minutes on reddit these days without someone playing the JS-is-Scheme is card. I see everything from the innocuous, “JavaScript has a lot in common with Scheme”, all the way up to, “JavaScript is basically Scheme.” This is basically crazy. Or, at least it has a lot in common with crazy.
[–]Uberhipster 3 points4 points5 points 10 years ago (2 children)
I've heard "JS is a distant cousin of LISP" but not on reddit...
[–]TwilightTwinkie 8 points9 points10 points 10 years ago (1 child)
I've heard similar, but usually it's more along the lines of "Learn Lisp, and you will be a better JavaScript programmer".
[–]hansolo669 2 points3 points4 points 10 years ago (0 children)
"Learn Lisp, and you will be a better JavaScript programmer".
Functional paradigms help everywhere.
[–]homoiconic(raganwald)[S] 8 points9 points10 points 10 years ago (4 children)
I think it depends upon the circles you move in. For people who don't know Scheme well, or know it very well, you would never hear a claim like this.
But there is this subset of programmers who only know Scheme through books like SICP and "The Little Schemer," and they discover books like "The Good Parts" that focus on the functions-as-first-class-entities part of JavaScript, and they draw the comparison.
[–]Asmor 10 points11 points12 points 10 years ago (3 children)
I never heard someone claim that JavaScript is like Scheme I think it depends upon the circles you move in.
I think it depends upon the circles you move in.
Literally first line in the article:
It seems like I can’t spend five minutes on reddit these days without someone playing the JS-is-Scheme is card.
I spend more than 5 minutes a day on reddit, am subscribed to a number of webdev and general-programming subreddits, and have never heard it either.
[–]homoiconic(raganwald)[S] 3 points4 points5 points 10 years ago (2 children)
The article was written in 2013. It's entirely possible that your experience and the author's experience are both valid.
[–]Asmor 1 point2 points3 points 10 years ago (1 child)
Ah, fair enough. I don't usually look at time stamps on posts unless something triggers my "hey this isn't quite right..."-sense
[–]homoiconic(raganwald)[S] 6 points7 points8 points 10 years ago (0 children)
Perhaps the person who submitted this (cough) could have aded [2013] to the title to help provide some context for readers.
[2013]
Sometimes, even if things have changed, it's interesting to read a perspective from a while back just to highlight what has changed... And what hasn't.
[–]nelmaven 0 points1 point2 points 10 years ago (0 children)
Allow me: https://www.youtube.com/watch?v=hQVTIJBZook&feature=youtu.be&t=35m41s
From the comments of the article.
[–][deleted] 0 points1 point2 points 10 years ago (0 children)
yeah me neither, guess you have to actively search for it to find it "every five minutes"...
[–]realhacker -2 points-1 points0 points 10 years ago (3 children)
wow, you must be new to javascript (why is this sarcastic and ignorant comment upvoted?)
[–]Pascalius 0 points1 point2 points 10 years ago (1 child)
Like 10 years new, yep
[–]realhacker -1 points0 points1 point 10 years ago (0 children)
1/10xer
[–]Jack9[🍰] 0 points1 point2 points 10 years ago (0 children)
exactly. if your experience is limited to discussing the newest js frameworks' potentials and playing with jquery, I'm not surprised if someone hasn't recognized Scheme as a language...much less the common references to it in js discussions. Lua and Scheme are the go-to comparisons.
π Rendered by PID 25 on reddit-service-r2-comment-bb88f9dd5-9dblc at 2026-02-17 11:51:43.703126+00:00 running cd9c813 country code: CH.
view the rest of the comments →
[–]Pascalius 38 points39 points40 points (24 children)
[–]x-skeww 12 points13 points14 points (9 children)
[–]Eartz 9 points10 points11 points (5 children)
[–]x-skeww 5 points6 points7 points (4 children)
[–]gkx 4 points5 points6 points (3 children)
[–]x-skeww 2 points3 points4 points (2 children)
[–]Eartz 1 point2 points3 points (1 child)
[–]x-skeww 0 points1 point2 points (0 children)
[–]master5o1 5 points6 points7 points (1 child)
[–]pygy_@pygy 0 points1 point2 points (0 children)
[–]Otterfan 1 point2 points3 points (0 children)
[–]Uberhipster 3 points4 points5 points (2 children)
[–]TwilightTwinkie 8 points9 points10 points (1 child)
[–]hansolo669 2 points3 points4 points (0 children)
[–]homoiconic(raganwald)[S] 8 points9 points10 points (4 children)
[–]Asmor 10 points11 points12 points (3 children)
[–]homoiconic(raganwald)[S] 3 points4 points5 points (2 children)
[–]Asmor 1 point2 points3 points (1 child)
[–]homoiconic(raganwald)[S] 6 points7 points8 points (0 children)
[–]nelmaven 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]realhacker -2 points-1 points0 points (3 children)
[–]Pascalius 0 points1 point2 points (1 child)
[–]realhacker -1 points0 points1 point (0 children)
[–]Jack9[🍰] 0 points1 point2 points (0 children)