Good To SEO | Search engine optimization (SEO) Blog News


JavaScript is a wildly popular interpreted scripting language that in early 2019 became the language most frequently learned by developers. JavaScript is an open standard, not controlled by any single vendor, with numerous implementations and an easy-to-learn syntax that makes it popular with beginners and veteran developers alike.

JavaScript dates from the earliest days of the World Wide Web. The language was first rolled out as a way to add lightweight client-side functionality to Web pages, and is widely used for that purpose today. Just about anything interactive or animated on a Web page today is rendered in JavaScript, including basically the entire ecosystems of online advertising and metrics. But JavaScript doesn’t just run in the browser. Thanks to development frameworks such as Node.js, JavaScript is now used to write code for just about any niche you can think of, from clients to servers to the cloud.

JavaScript defined: What is a scripting language, and how are Java and JavaScript different?

As its name implies, JavaScript is a scripting language. Traditional languages such as C++ are compiled before they’re run into executable binary form, with the compiler checking for any errors in the entire program before the process is complete. Scripting languages, by contrast, are executed one line at a time by another program called an interpreter. Scripting languages got their start as simple series of shell commands used to execute other programs, but their flexibility and ease of use made them a popular type of programming language in their own right, and they particularly became important with the rise of the Web.

JavaScript itself arose in those early days of the Web, and its history explains the somewhat anomalous Java part of its name. In 1995, Netscape had just signed a deal with Sun Microsystems to become the first licensee of Sun’s Java language, gaining the ability to run Java applets in the pioneering and then-dominant Netscape Navigator Web browser. But some within the company believed that supporting a more lightweight scripting language in Navigator was also important. Brendan Eich, a Netscape employee at the time, explained:

“There were people who argued strongly that Java’s fine for programmers who build components, but there’s a much larger audience of people who write scripts or maybe copy a script from somebody else and tweak it. These people are less specialized and may be paid to do something other than programming, like administer a network, and they write scripts part-time or on the side. If they’re writing small pieces of code, they just want to get their code done with the minimal amount of fuss.”

Eich was prescient: Java applets never really took off, whereas the scripting language he created (very quickly) for Netscape remains the backbone of interactive websites. Originally called LiveScript, the language was created with syntax that was superficially similar to Java in many ways in order to tap into the Java developer community, though in fact there is no direct relationship between the two languages. Still, because Netscape already had a deal with Sun, just before its release the language was rebranded as JavaScript and billed by the two companies as a “complement” to the Java language.



Source link

  • Facebook
  • Twitter
  • Linkedin
  • Pinterest
  • Buffer
  • stumbleupon
  • Reddit

Join To Our Newsletter

You are welcome

This div height required for enabling the sticky sidebar
WP Twitter Auto Publish Powered By : XYZScripts.com
Ad Clicks :Ad Views : Ad Clicks :Ad Views : Ad Clicks :Ad Views : Ad Clicks :Ad Views : Ad Clicks :Ad Views : Ad Clicks :Ad Views : Ad Clicks :Ad Views : Ad Clicks :Ad Views : Ad Clicks :Ad Views : Ad Clicks :Ad Views : Ad Clicks :Ad Views : Ad Clicks :Ad Views : Ad Clicks :Ad Views : Ad Clicks :Ad Views : Ad Clicks :Ad Views : Ad Clicks :Ad Views : Ad Clicks :Ad Views : Ad Clicks :Ad Views :