JS logo

Technical Blog: JavaScript

August 21st, 2014

JavaScript in Web Development

JavaScript is one of the most popular programming languages due entirely to its role as a scripting language of the world wide web.

Today, accessing the web varies heavily across device, screen size, and browser, which is why it’s generally unwise to commit to a particular technology. Lately, however, more and more large organizations are trusting their development to Javascript.

The Advantages and Disadvantages of JavaScript

Advantages

  1. JavaScript works on all devices and in all browsers, pretty much guaranteeing that your HTML page will always render.
  2. Most JavaScript programs execute in a web browser, but Node.js executes on the server-side. This has the distinct advantage of allowing one developer, or a single small team, to work on both front-end, back-end at the same time.
  3. Javascript is relatively fast to the end user. As the code is executed on the user’s computer, results and processing is completed almost instantly depending on the task (tasks in javascript on web pages are usually simple so as to prevent being a memory hog) as it does not need to be processed in the site’s web server and sent back to the user consuming local as well as server bandwidth.

Disadvantages

  1. Security issues
  2. JavaScript rendering varies resulting in inconsistency in terms of functionality and interface.