CrazyEngineers
  • What are the Disadvantages/Limations of JavaScript?

    Updated: Oct 27, 2024
    Views: 1.1K
    Okay JavaScript helps to add Buzz, Validation to the webpages, Communication to the Web server and many more.
    Just wanted to know what are all the Disadvantages and Limitations of using JavaScript?
    And Yeah JavaScript executes on client-side browsers, right? What if if an user accessing from an JS disabled browser?
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • Anoop Kumar

    MemberMar 29, 2012

    Basically java script used to make static web pages little bit dynamic and validation on client site to save server delay and resources.
    yes, Java script is totally compiled and run by web browser.
    It's user choice to disable java script and nothing can be done. This is essential limitation that user has all the control over it and code is exposed to client.
    Are you sure? This action cannot be undone.
    Cancel
  • K!r@nS!ngu

    MemberMar 29, 2012

    Sada
    Okay JavaScript helps to add Buzz, Validation to the webpages, Communication to the Web server and many more.
    Just wanted to know what are all the Disadvantages and Limitations of using JavaScript?
    And Yeah JavaScript executes on client-side browsers, right? What if if an user accessing from an JS disabled browser?

    Yes Javascript is limited to execute within browser(It is a browser-side language).
    Definition:
    Javascript is one of the most simple, versatile and effective languages used to extend functionality in websites. Uses range from on screen visual effects to processing and calculating data on web pages with ease as well as extended functionality to websites using third party scripts among several other handy features, however it also possesses some negative effects that might make you want to think twice before implementing Javascript on your website. Let's look at some of its pros and cons.
    We can point-out disadvantages when we compare it with any other programming language.
    Are you sure? This action cannot be undone.
    Cancel
  • Sahithi Pallavi

    MemberMar 30, 2012

    #-Link-Snipped-#, #-Link-Snipped-# -
    thanks for your replies.
    Limitations of JS What I feel are -

    1. Client side scripts can be a little unpredictable. Just like JavaScript. It is sometimes interpreted differently by different browsers. It's entirely depends on client's browsers. Where as Server side scripts always produce the same output.
    2. And since the JS code executes on the client's computer, the client has a control over it. It may exploit to malicious purposes.

    Can we find anymore limitations?
    Are you sure? This action cannot be undone.
    Cancel
  • Ankita Katdare

    AdministratorMar 30, 2012

    #-Link-Snipped-# Good question.

    Some more limitations are -

    Unless you are using Ajax, Javascript can not access databases.
    Except cookies that store information, javascript is not able to read or write on the files of the client.
    Are you sure? This action cannot be undone.
    Cancel
  • greatcoder

    MemberApr 1, 2012

    #-Link-Snipped-#
    #-Link-Snipped-#
    JavaScript is definitely powerful, but It has many disadvantages:

    1) As a developer, I always face a challenge to integrate javascript codes so that it can run in almost all browsers. It is a Great HEADACHE for developers to make the JS code compatible to all majorly used browsers. Most of the time developer spends his time debugging his code to support multi browser functionalilty.

    2) Standalone JavaScript is of little use.
    If u want to use JS, u have to take support of various third party tools available, the most famous of which is: jQuery- A plugin for JS to make the life of developers easy. it provides a better integrated API for developers and thus reduces development efforts.

    3) There is a google plugin available which can be integrated with Eclipse IDE: GWT (Google Web Toolkit). This uses JavaScript to generate UIs. Basically It converts the Java User Interface code to JavaScript codes: A bridge between java to javascript. Really commendable effort from Google to develop such API and it is especially good for those who Javamaniac.

    4) AJAX (Asynchronous Java Script), is also extensively used today. Google has major role in making AJAX popular.

    Hence JS alone is quite terrible to use but when clubbed with such nice tools, The power of JavaScript can be utilized much more effectively. 👍

    Regards
    GC
    Are you sure? This action cannot be undone.
    Cancel
  • ysr shk

    MemberApr 23, 2012

    With the help of JS.We can find our cookies name.
    And with some java or JSP programs we can find that cookie's value.
    This leads hackers to steal cookies from another computer.And cookie may contain confidential information about password or it may contain password.

    So I can say that it is less secure if you are dealing with cookies.
    And if you are using Google chrome,we can inspect elements and can try with changing the values of variables.
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register