DEV Community

Cover image for Learn JavaScript the Eloquent Way-What is JavaScript

Learn JavaScript the Eloquent Way-What is JavaScript

envoy_ profile image Envoy-VC ・1 min read
➽ JavaScript was introduced in 1995 as a way to add programs to 
   web pages in the Netscape Navigator browser.

➽ After its adoption outside of Netscape, a standard document was 
   written to describe the way the JavaScript language should work 
   so that the various pieces of software that claimed to support 
   JavaScript were actually talking about the same language. This 
   is called the ECMAScript standard.

➽ Web browsers are not the only platforms on which JavaScript is 
   used. Some databases, such as MongoDB and CouchDB, use 
   JavaScript as their scripting and query language.

➽ The term “paradigm” in programming language context refers to a 
   broad (almost universal) mindset and approach to structuring 
   ➽ Some languages are heavily slanted toward one paradigm—C is 
      procedural, Java/C++ are almost entirely class oriented, and 
      Haskell is FP through and through.
   ➽ JavaScript is most definitely a multi-paradigm language. You 
      can write procedural, class-oriented, or FP-style code, and 
      you can make those decisions on a line-by-line basis instead 
      of being forced into an all-ornothing choice.
Enter fullscreen mode Exit fullscreen mode

Discussion (2)

raddevus profile image

You make a great point (that JS is a multi-paradigm language).

And, further, as you say, you can use procedural, class-oriented or FP-style code on a line-by-line basis. This accounts for why some dev's JS feels like it is written on the fly without making design choices. It is also why the language is so flexible and why it takes so long to learn.

envoy_ profile image
Envoy-VC Author

Thanks 😊😊
and ya its true that JS takes a long time to learn currently I am learning JS and writing side by side posts to get deeper understanding of the topic bcoz i think writing gets in your mind more than reading...

Forem Open with the Forem app