I’m puzzled why everyone loves JavaScript too. There is absolutely nothing JavaScript can do that Smalltalk or Go can’t (outside of manipulating the DOM, that is). JavaScript’s functional character, which is what everybody seems to get a hard on for, relies on first-class functions and closures, which Smalltalk and Go have!

JavaScript’s only other feature of note is object prototypes, which is a much less popular way to do OOP. So I really don’t get it.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store