Jump to content

Talk:JScript .NET

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 63.105.65.5 (talk) at 02:28, 18 August 2005. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

"Both JScript and JScript .NET are languages whose syntax is heavily based on that of Sun Microsystems' Java language"

That's just completely wrong! JScript is based on JavaScript which is a completely different type of language than Java.


JScript is untyped Java is strongly typed

JScript has closures, Java does not

JScript has mutable objects like Self, Java has static objects

JScript can create new functions at run time, Java can not

JScript has first class functions, Java does not

About the only thing JScript has in common with Java is curly braces.

Joshua Scholar

History of JScript

Um, ok, I'm not a Windows person, (because I'm not a masochist), but these two statements from the article simply don't sound right:

Both JScript and JScript .NET are languages whose syntax is heavily based on that of Sun Microsystems' Java language
JScript .NET syntax and lexical conventions are closely linked to Java, (which is why there is a 'J' in the name JScript; JScript was originally a scripting counterpart of J++, which was Microsoft's implementation of Java) and as such, users of Java and JavaScript will find it [JScript] easy to learn.

To the best of my knowledge, JScript was Microsoft's work-alike implementation of Mozilla's JavaScript; and "JavaScript" was simply a marketing name given to a project originally called LiveScript, and LiveScript was not based on Java, (in the strictest sense). LiveScript was syntactically based on the whole family of "brace, bracket, and semi-colon" languages like C, Java, etc. People often make an assumtion that Java and JavaScript have a direct relationship, but they do not. It is also problematic for people to create such links between Java and JavaScript, since they are actually fundamentally very different languages, with JavaScript being a Prototype-based programming language.

Any thoughts? func(talk) 18:04, 21 May 2005 (UTC)[reply]

I basically agree. JavaScript is dynamically typed whereas Java is statically_typed. As you write the syntax ("brace, bracket, and semi-colon") is within the realm of a whole family of similar looking languages. Hirzel 12:26, 24 Jun 2005 (UTC)

Download

Where can I download JScript? Or is it just part of the .NET framework (which package?) Hirzel 12:26, 24 Jun 2005 (UTC)