JavaScript – Pros and Cons

What is JavaScript? Java script is Object Oriented scripting language that can add dynamic functionality in html pages. Scripting languages are high level programming languages that are interpreted at run time as compare to system programming languages (Such as C or Java) that are already compiled.

For example, all the Google ads that you see on websites are JavaScript code. Dynamic nature of the code produces ever changing targeted ads on WebPages.

Advantages of JavaScript

  • JavaScript is very fast because it runs on client side (browser side),
  • Easy to learn and implement.

Disadvantages of JavaScript

  • Security can be an issue because JavaScript run on user’s computer. That’s the reason some users choose to disable JavaScript.
  • WebPages will not work correctly, if JavaScript is disabled in web browser.
  • Search engines cannot read JavaScript. So if you place links inside JavaScript, search engines will not be able to crawl those links.

Related Posts

Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email will not be published. Required fields are marked *

*
*