|WikiProject Microsoft / .NET||(Rated Start-class)|
|To-do list for JScript .NET:|
Copied from article:
Differences with Visual Basic .NET
To do: finish this section
Differences with PHP
Differences with Perl
Add more languages
to be finished
"Both JScript and JScript .NET are languages whose syntax is heavily based on that of Sun Microsystems' Java language"
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.
Hmm. On a second read through I see that you said "the syntax" was based on Java, not the symantics. Maybe - it seems more likely that the syntax was based on C and Java's syntax was based on C++.
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
Where can I download JScript? Or is it just part of the .NET framework (which package?) Hirzel 12:26, 24 Jun 2005 (UTC)
JScript .NET as a natural successor to JScript
My point is that I personally don't see JScript .NET as a successor due to it striving for a bit different goal (running as a server-side application, and not on the client as a script), and I believe this is also a reason to why it hasn't taken of well.
I'm not sure it's a successor, much less natural. -- Northgrove 08:38, 9 August 2006 (UTC)
The claim is half valid. To the best of my knowledge, JScript .NET was indeed designed as a successor to JScript for server-side Web applications. This means in scenarios of migrating ASP (Active Server Pages) + JScript code to ASP.NET + JScript .NET code.
However, while both are based on ECMAScript (3rd Edition for original JScript and Pre-4th edition for JScript .NET), the fact that JScript .NET is much more typed, less dynamic, and compiled to the same MSIL as C# or J# makes it very different to work with in the end.
The need for more dynamic languages in .NET have been acknowledged and the DLR (Dynamic Language Runtime) is designed to allow languages closer to the original JScript and Python. Another implementation of JScript, called Managed JScript, is based on the DLR, and is much closer to the original JScript than JScript .NET could ever be. It supports being hosted in other applications and parsing while executing, while JScript .NET required the whole script to be available and parsed before starting the execution. PhMajerus —Preceding comment was added at 10:37, 2 December 2007 (UTC)
This language is abandoned since a while back
— Northgrove 09:31, 29 November 2016 (UTC)