What are the Disadvantages/Limations of JavaScript?

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?

Replies

  • Anoop Kumar
    Anoop Kumar
    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.
  • K!r@nS!ngu
    K!r@nS!ngu
    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.
  • Sahithi Pallavi
    Sahithi Pallavi
    #-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?
  • Ankita Katdare
    Ankita Katdare
    #-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.
  • greatcoder
    greatcoder
    #-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
  • ysr shk
    ysr shk
    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.

You are reading an archived discussion.

Related Posts

Any one help me how to find a given string/word in a file, and how to increment the parsing pointer to the next character/word/line without using stream reader. It's being...
how work this recursive function. would any one of you Explain this? please... int Fib(int N) { if(int N) return 1; else return Fib(N-1)+Fib(N-2); }
They [Qualcomm] sent a phone featuring a Snapdragon processor around the world and shot a video on one battery charge. In just over two weeks, Snapdragon-enabled smartphone traveled from LA...
Biggie's thread here: https://www.crazyengineers.com/community/threads/oled-tvs-may-cost-8000.53175/ got me thinking. From what I know LEDs are very similar to LCDs. How exactly do the organic LEDs differ from LEDs? And what makes them...
Now we can develop various accessories that communicate with bada applications on a bada device through a USB client connector. From the bada API version 2.0, the Osp::Io::SerialPort class can...