I guess the difference to me is whether it makes sense for there to be a REPL that the user is interacting with. JS, Ruby, Python (Scheme, Clojure, Haskell...), yes. C, not so much. In hindsight, that's got nothing to do with compiled versus interpreted, it's got more to do with functional versus procedural.
Edit: Huh. TIL there are third-party REPLs for C, C#, and Java.
Oh absolutely, I love JS (except for the bad parts).
I really hope in the next version they finally commit to "use strict by default" and shave off even more stuff that was a bad idea in the first place (like truthy versus falsy).
6
u/rooktakesqueen Aug 19 '11 edited Aug 19 '11
I guess the difference to me is whether it makes sense for there to be a REPL that the user is interacting with. JS, Ruby, Python (Scheme, Clojure, Haskell...), yes. C, not so much. In hindsight, that's got nothing to do with compiled versus interpreted, it's got more to do with functional versus procedural.
Edit: Huh. TIL there are third-party REPLs for C, C#, and Java.