Listen to this story
Sign up for your weekly dose of what's up in emerging technology.
Download our Mobile App
“The thing that bothers me about JS is the language syntax and semantics. Together they provide an ugly and verbose language that’s generally painful to read,” a software developer said on Quora. “When using JS, programmers must write workarounds to overcome problems in the language itself, and the workarounds are immensely complex and often cumbersome to understand.”
“Semicolon insertion was a huge mistake, as was the notation for literal regular expressions. These mistakes have led to programming errors and called the design of the language as a whole into question. Fortunately, many of these problems can be mitigated with a good lint programme,” Crockford added.
Despite its many flaws, it is undeniable that it is one of the most popular programming languages. It’s the only programming language that can be used across the whole stack (frontend/backend). You can run it on any divide and on any browser. It is also the only language native to web browsers.