• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 1. Getting into JavaScript! > What About the Difference Between a Scrip...

What About the Difference Between a Scripting Language and a Programming Language?

You might have heard things in the past like “Oh yes, JavaScript is just like C++,” or “JavaScript and Java are just the same thing.” Well, in reality, neither of these statements is true. JavaScript is a third-generation language, which means it is a cousin to C, Pascal, and BASIC (if you have difficulty visualizing what this means, don't worry about it!). Similarities do exist, but so do some important differences. Here are a few:

  • JavaScript is free-formatted. This means that careful formatting is optional.

  • JavaScript is an interpreted language. This means that it is processed by a separate program on the computer.

  • JavaScript is highly portable and hardware independent. This means that, similar to Java, it can run anywhere.

  • JavaScript embeds easily into other software, like browsers (try doing that with C++!).


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint