JavaScript journey: from Zero to Hero




 Initially, many developers felt that JavaScript is an inferior language because of its simplicity. In fact many developers didn’t assume JavaScript as a programming language. JavaScript was only scripting language for them.

But after coming ES5 at 2009 and Node.js at 2010, JavaScript started to become very popular among developers. After introducing AJAX (Asynchronous JavaScript And XML) in JS, it became clear that JS allows developers to build powerful and highly responsive web applications.

Foremost I would like to thank “Brendan Eich” who introduced JavaScript in 1995 during his running project of “NetScape 2”. NetScape was leading browser of that time which was competing with Internet Explorer of Microsoft. 


 Eich prepared JavaScript in 10 days to bring back NetScape into playground. Initially it was named as LiveScript but later it was renamed as JavaScript under marketing strategy to leverage Java.


ECMA which stands for European Computers Manufacturers Association standardized JavaScript with standard name of ECMA-262. JavaScript was continuous improved and still developing by Firefox.

Advantages:-

  1. Speed :- JavaScript is interpreted language. It means there is no need to compile JS codes into machine code. So, it reduces compilation time.
  2. Simplicity :- Easy syntax makes this language easy to learn & understand, feasible to implement. This is the actual beauty of this language.
  3. Popularity:- Many popular companies like Google, Amazon, FlipKart use JS in front end. Now PayPal which is another popular company uses JS in back end also. According to PayPal:-

    "By using Node.js in backend, it is built twice as fast with fewer people, reduced 33% line of code, reduced 40% files, can handle 2x request/second and has 35% faster response time."
  4. Server Load :- It operates client side, so data-validation is possible on browser. So there is less need of communication with server to perform many tasks.
  5. Versatility:- This is another beauty of JS. JavaScript can play on both side. After introducing Node.js, JavaScript can work perfectly in back end also. 

Reference:-

1.  https://youtu.be/aX3ZABCdC38
2. https://youtu.be/1EyRscXrehw



Comments

Popular posts from this blog

How Mongo create unique Id for a document/object?

Does Mongo DB create _id of document by itself?