JavaScript vs French: What’s the difference?

Photo by Towfiqu barbhuiya on Unsplash

French is older

While it’s challenging to pinpoint an exact time that French was created, as language is a constantly evolving phenomena, early French can be traced back to Gaul — a region that now includes modern-day France and Belgium. The invasion and cultural amalgamation of the Romans throughout 2nd and 1st century BC bred a distinct local Gallo-Romance tongue that, combined with subsequent Germanic invasions into the country, created what linguists call ‘Old French’, a language that survived until the 14th century.

JavaScript is a client-side scripting language, while French is a spoken language

While runtime environments like Node.js have transformed the way programmers see JavaScript, the language’s original and primary purpose is acting as a client-side scripting language for in-browser webpage interaction. This means JavaScript is compiled and executed on an as-needed basis by the user’s web browser itself.

French is gendered, JavaScript is weakly typed

In French, every noun has a gender — masculine or feminine. This affects the pronoun used to describe it and the conjugation of verbs around them. This can be jarring to users of languages that lack explicit object types, like English (where nouns are gender-neutral) or Python.

So, when do I use which?

As someone who has experience with both languages in a multitude of contexts, I have found that JavaScript is more appropriate when programming a website, while French is more appropriate when speaking to a French person. The speed and adaptability of JavaScript makes creating an interactive webpage straightforward enough, while the comprehension of French by a French person makes speaking to them in French easy.



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