Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5

Thread: JavaScript

  1. #1
    New to the CF scene
    Join Date
    May 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    JavaScript

    What is so good about javascript?
    I don't think it is that good, so can someone please explain the pros and cons of JavaScript.

  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,987
    Thanks
    4
    Thanked 2,660 Times in 2,629 Posts
    This is the Java forum, not the Javascript forum. Moving to Javascript.
    Since I don't typically do JS at all, I'm pretty limited in what I can have to say. Pros: DOM capable, event driven, object based language. Cons: Requires a ECMA script compatible environment, performance is directly hinged on client.

  • #3
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    17,918
    Thanks
    203
    Thanked 2,531 Times in 2,509 Posts
    Why do you think you are qualified to state "I don't think it is that good"? It looks as though you think (quite wrongly) that Java == Javascript.

    Have a look at

    http://www.crockford.com/javascript/javascript.html

    http://www.w3schools.com/js/js_intro.asp

    All the code given in this post has been tested and is intended to address the question asked.
    Unless stated otherwise it is not just a demonstration.

  • #4
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,623
    Thanks
    0
    Thanked 645 Times in 635 Posts
    Quote Originally Posted by Philip M View Post
    That's mostly what JavaScript could do ten years ago. It can do a lot more than that now.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • #5
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,635
    Thanks
    6
    Thanked 1,003 Times in 976 Posts
    I suppose this thread was just an attempt to spam the forum. If there is no substantial reply from the OP within one week I’m gonna delete that thread.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •