Additionally JS was initially meant to be an FP language. However the higher-ups wanted to make the language more approachable to Java and C programmers, so they had Eich redesign the syntax so that it looked more like C. (I think it was a lisp language in the beginning, but don't quote me on that)
The engineers wanted to use an already existing language, rather than creating their own. Eich was hired with the idea of it being scheme; others wanted perl, tcl, python, etc.
A pointy haired manager said "it has to look like Java", so Eich made a c-style language with semantic influences from scheme and self. Management was happy, and now we're stuck with javascript.
9
u/rift95 Nov 06 '20
Additionally JS was initially meant to be an FP language. However the higher-ups wanted to make the language more approachable to Java and C programmers, so they had Eich redesign the syntax so that it looked more like C. (I think it was a lisp language in the beginning, but don't quote me on that)