We are still actively working on the spam issue.

Difference between revisions of "JavaScript"

From InstallGentoo Wiki
Jump to: navigation, search
m (Grammer correction.)
(Change comedic to serious, add info)
Line 1: Line 1:
 
{{Stub}}
 
{{Stub}}
 
[[File:Js.png|thumb|"Unofficial" logo.]]
 
[[File:Js.png|thumb|"Unofficial" logo.]]
"'''JavaScript''' had to ‘look like Java’ only less so, be Java's dumb kid brother or boy-hostage sidekick. Plus, it had to be done in ten days or something worse than JavaScript would have happened."
 
  
- Brendan Eich, creator of JavaScript
+
'''JavaScript''' (or ECMAScript) is a styling language designed for use in the Netscape web browser, but later became a web standard. Javascript was originally used to stylize web pages in a way much like [[CSS]], but in recent years people have been using it as if it were an actual programming language. Creator Brendan Eich has been quoted as saying that Javascript "had to ‘look like Java’ only less so, be Java's dumb kid brother or boy-hostage sidekick. Plus, it had to be done in ten days or something worse than JavaScript would have happened."
  
Technically, the language was supposed to be called ECMAscript, but was renamed JavaScript to make nerds at Sun butthurt.  Naturally, being similar in name to Java creates confusion among the less informed.
+
The language was originally named ECMAscript (and is still referred to as that by some), but was renamed JavaScript due to trademark disputes by [[Sun Microsystems]].
  
With improvements made to modern JS engines required to make shitty webapps more efficient, JS has become viable outside of the web browser as well. For example, the V8 engine code used for NodeJS actually compiles your shitty loosely typed JS into blazing fast machine code on-the-fly.
+
== Controversy ==
 +
Many people hate Javascript. When it began, it was just a neat sort of thing that allowed pages to be animated. However, later on (for a number of reasons, including the failed web 2.0 philosophy), Javascript became a primary element of [[RUE]] websites, causing a page that only needs 1mb at most to be 40mb in Javascript.
 +
 
 +
Security risks in Javascript are extensive. Javascript can also be used to make a [[keylogger]]. This is used on many websites.
 +
 
 +
The fact that Javascript later evolved into a programming language prompted the [[FSF]] to give a guideline for adding software licenses to Javascript code, after [[Richard Stallman]] wrote an article called [https://www.gnu.org/philosophy/javascript-trap.html The Javascript Trap]. [[LibreJS]] is a web plugin designed by the FSF to block [[non-free]] javascript.
  
 
[[Category:Programming languages]]
 
[[Category:Programming languages]]

Revision as of 02:56, 19 January 2016

"Unofficial" logo.

JavaScript (or ECMAScript) is a styling language designed for use in the Netscape web browser, but later became a web standard. Javascript was originally used to stylize web pages in a way much like CSS, but in recent years people have been using it as if it were an actual programming language. Creator Brendan Eich has been quoted as saying that Javascript "had to ‘look like Java’ only less so, be Java's dumb kid brother or boy-hostage sidekick. Plus, it had to be done in ten days or something worse than JavaScript would have happened."

The language was originally named ECMAscript (and is still referred to as that by some), but was renamed JavaScript due to trademark disputes by Sun Microsystems.

Controversy

Many people hate Javascript. When it began, it was just a neat sort of thing that allowed pages to be animated. However, later on (for a number of reasons, including the failed web 2.0 philosophy), Javascript became a primary element of RUE websites, causing a page that only needs 1mb at most to be 40mb in Javascript.

Security risks in Javascript are extensive. Javascript can also be used to make a keylogger. This is used on many websites.

The fact that Javascript later evolved into a programming language prompted the FSF to give a guideline for adding software licenses to Javascript code, after Richard Stallman wrote an article called The Javascript Trap. LibreJS is a web plugin designed by the FSF to block non-free javascript.