JavaScript: Difference between revisions

Content deleted Content added
Removed Robert Cailliau's biased quote as it is opinion and not part of JavaScript's history. Also fixed the infobox as it was missing the JavaScript logo and was broken into two pieces,
Tag: references removed
m Reverted edits by 173.180.101.194 (talk) to last version by Cybercobra
Line 1:
 
{{distinguish|Java (programming language)}}
 
{{redirect|Java Script|the writing system|Javanese script}}
 
{{Selfref|For the use of JavaScript on Wikipedia, see [[Wikipedia:JavaScript]].}}
 
{{Infobox programming language
| name = JavaScript
| paradigm = [[Multi-paradigm]]: [[scripting language|scripting]], [[prototype-based programming|prototype-based]], [[imperative programming|imperative]], [[functional programming|functional]]<ref name="jsfunc"/>
| logo = [[file:JavaScript-logo.png|frameless|JavaScript]]
| captionyear = JavaScript1995
| file extension = .js
| paradigm = [[Multi-paradigm]]: [[scripting language|scripting]], [[prototype-based programming|prototype-based]], [[imperative programming|imperative]], [[functional programming|functional]]<ref name="jsfunc"/>
| released = 1995
| designer = [[Brendan Eich]]
| developer= [[Netscape Communications Corporation]], [[Mozilla Foundation]]
| latest release versionlatest_release_version = 1.8.2<ref>[https://developer.mozilla.org/en/firefox_3.6_for_developers#JavaScript Firefox 3.6 supports JavaScript 1.8.2]</ref>
| latestlatest_release_date release date = {{release date and age|2009|6|22}}
| latest preview versionlatest_preview_version = 1.8.5<ref>{{cite web
{{cite web
| url = https://developer.mozilla.org/en/JavaScript/New_in_JavaScript/1.8.5
| title url= New in https://developer.mozilla.org/en/JavaScript /New_in_JavaScript/1.8.5
|title=New in JavaScript 1.8.5
| publisher = mozilla.org
| accessdate = August 10, 2010
|date=
| accessdate = August 10, 2010
}}</ref>
| latestlatest_preview_date preview date = {{Release date|2010|7|27}}
| typing = [[dynamic typing|dynamic]], [[weak typing|weak]], [[duck typing|duck]]
| implementations = [[KDE's JavaScript engine|KJS]], [[Rhino (JavaScript engine)|Rhino]], [[SpiderMonkey (JavaScript engine)|SpiderMonkey]], [[V8 (JavaScript engine)|V8]], [[WebKit]], [[Presto_(layout_engine)#ECMAScript_engines|Carakan]], [[Chakra (JScript engine)|Chakra]]
| influencedinfluenced_by by = [[C (programming language)|C]], [[Java (programming language)|Java]], [[Perl]], [[Python (programming language)|Python]], [[Scheme (programming language)|Scheme]], [[Self programming language|Self]]
| dialects =
| influenced by = [[C (programming language)|C]], [[Java (programming language)|Java]], [[Perl]], [[Python (programming language)|Python]], [[Scheme (programming language)|Scheme]], [[Self programming language|Self]]
| influenced = [[ActionScript]], [[CoffeeScript]], [[Dart (programming language)|Dart]], [[JScript .NET]], [[Objective-J]], [[QML]], TIScript
| license =
| mime = application/javascript</code><br /><code>text/javascript</code>&nbsp;(obsolete)<ref>[http://www.apps.ietf.org/rfc/rfc4329.html#sec-7.1 RFC 4329]</ref>
| website =
| uniform type = com.netscape.javascript-​source<ref>{{cite web
| wikibooks = JavaScript
| publisher = Apple Inc.
}}
| url = http://developer.apple.com/mac/library/documentation/Miscellaneous/Reference/UTIRef/Articles/System-DeclaredUniformTypeIdentifiers.html
{{Infobox file format
| title = System-Declared Uniform Type Identifiers
| name = JavaScript
| work = Mac OS X Reference Library
| icon =
| accessdate = 2010-03-05
| logo =
| screenshot =
| caption =
| file extension = .js
| mime = application/javascript</code><br /><code>text/javascript</code>&nbsp;(obsolete)<ref>[http://www.apps.ietf.org/rfc/rfc4329.html#sec-7.1 RFC 4329]</ref>
| type code =
| uniform type = com.netscape.javascript-​source<ref>{{cite web
| publisher = Apple Inc.
| url = http://developer.apple.com/mac/library/documentation/Miscellaneous/Reference/UTIRef/Articles/System-DeclaredUniformTypeIdentifiers.html
| title = System-Declared Uniform Type Identifiers
| work = Mac OS X Reference Library
| accessdate = 2010-03-05
}}</ref>
| magic =
| wikibooks = JavaScript
| owner =
| released = 1995
| latest release version =
| latest release date =
| genre = [[Scripting language]]
| container for =
| contained by =
| extended from =
| extended to =
| standard =
| url =
}}
 
{{JavaScriptSidebar}}
 
Line 51 ⟶ 67:
 
== History ==
{{quote box|width = 200px|Anyway I know only one [[programming language]] worse than [[C (programming language)|C]] and that is Javascript. [...] I was convinced that we needed to build-in a programming language, but the developers, [[Tim Berners-Lee|Tim]] first, were very much opposed. It had to remain completely declarative. Maybe, but the net result is that the programming-vacuum filled itself with the most horrible [[Kludge|kluge]] in the history of computing: Javascript.|[[Robert Cailliau]]<ref>[[wikinews:Wikinews:Story preparation/Interview with Robert Cailliau]]</ref>}}
JavaScript was originally developed by [[Brendan Eich]] of Netscape under the name ''Mocha'', which was later renamed to ''LiveScript'', and finally to JavaScript mainly because it was more influenced by the [[Java programming language]].<ref>{{cite web|last=Krill |first=Paul |url=http://www.infoworld.com/article/08/06/23/eich-javascript-interview_1.html |title=JavaScript creator ponders past, future |publisher=InfoWorld |date=2008-06-23 |accessdate=2009-05-19}}</ref><ref name="computerworld">{{cite web|last=Hamilton|first=Naomi|url=http://www.computerworld.com.au/article/255293/-z_programming_languages_javascript|title=The A-Z of Programming Languages: JavaScript|publisher=computerworld.com.au|date=2008-06-31}}</ref>
LiveScript was the official name for the language when it first shipped in beta releases of Netscape Navigator 2.0 in September 1995, but it was renamed JavaScript in a joint announcement with Sun Microsystems on December 4, 1995,<ref>[http://web.archive.org/web/20070916144913/http://wp.netscape.com/newsref/pr/newsrelease67.html Press release announcing JavaScript], "Netscape and Sun announce Javascript(TM)", PR Newswire, Dec 4, 1995</ref> when it was deployed in the Netscape browser version 2.0B3.<ref name="techvision">{{cite web |archiveurl=http://web.archive.org/web/20080208124612/http://wp.netscape.com/comprod/columns/techvision/innovators_be.html |archivedate=2008-02-08 |title=TechVision: Innovators of the Net: Brendan Eich and JavaScript |publisher=Web.archive.org |date= |accessdate=2010-06-14}}</ref>