How To Spell JavaScript

David Wickes - May 8 '20 - - Dev Community

I thought I'd explain how to spell JavaScript, and go through some common mistakes developers encounter when writing the word.

Javascript

Nope, you need to capitalize the 's'. It's camel case, like all the worst programming languages.

JavaSCRIPT

Too many capital letters now.

java_script

Go back to writing Python or Ruby or whatever.

JAVASCRIPT

  1. NO IT'S NOT COBOL
  2. OR BASIC
  3. GOTO 10

java-script

Although Brendan Eich wanted to write "Scheme for the browser", he didn't and it isn't. So no kebab case for you.

ECMAScript

Oooooh check you out, smarty pants. Technically this is correct, but in reality it sounds like a skin condition. So no.

TypeScript

Well done, you've got the camel case right. But you've forgotten how to spell "Java" and it looks like you've written any randomly all over your code.

ClojureScript

Not only can't you spell "Java", now you can't spell "Closure" and you're putting the parentheses in the wrong places.

CoffeeScript

Only valid in 418 responses.

ActionScript

How old are you?

NodeJS

NodeJS isn't the name of a language; it's the name of a browser project that got badly out of control.

Java

I mean, given that you're probably writing your JavaScript like it's Java this is at least honest.

JSX

The 'X' stands for "wtf is all this HTML doing in my JavaScript?"

ESNext

You're writing a language from the future. Stop it. What are those ridiculous looking operators doing anyway? You really need them? You really missed waiting for your code to compile so much that now you're compiling your JavaScript into JavaScript using JavaScript?

LiveScript

Brendan? Is that you?

. . . . . . . . . . . . . . . . . . .
Terabox Video Player