hi..can someone pls tell me wats the diff between Javascript and JScript.NET?? 1)Jscript is from microsoft? 2)JScript.NET same as javascript? 3)much difference? 4)which one is better?? 5)which is advisable to use? tks... :)
"Rejoice always, pray without ceasing, in everything give thanks; for this is the will of God in Christ Jesus for you."1Thess. 5:16-18
JScript is Microsoft's implementation of the ECMA 262 language or something or other, and is just really based on JavaScript. JScript.NET allows for compilation into the CLS and produces an exe application. JScript.NET can only be used on the server side of
an ASP.NET but is way way more efficient and robust than JavaScript which is better suited to client side stuff.
If you are seriously thinking about JScript.Net, I would highly recommend scrapping that idea and just moving to C#, because you get the benifits of all the examples out on the web, plus a pretty desent FREE IDE called #Develop, and there isn't that much of
a learning curve from JScript.Net to C#.
But on the other side if you code by hand and don't mind the lack of IDE support, JScript.NET is the language for you. IMHO it's code is the most beautifull of all .NET languages.
Well it is all up to what ever you want. If you don't mind a language that is probably not going to get improved uppon anytime in the future use JScript.Net. If you want a language that won't give you a lot of problems switching from JScript use C#. Plus most
examples on the net are done in C# or VB.Net.
I kinda though JScript.Net was fairly redundant. in tradditonal ASP, i used jscript cause i didnt like vbscript. now i have C#, im happy. Also Jscript.Net is very diffrent from JScript. It supports namespaces, real 'classes', Traditional inheritence, interfaces,
real types, and all the CLR goodness. However, it is substantially diffrent from Javascipt 2.0 which is "the future of javascript" and also supports namespaces, real classes, real types, traditional inheritence and interfaces. I think they put Jscript.Net
in to satisfy the hard-core javascript aherents. It's unliekly to do this since it's so diffrent from JS2. Mozilla, the people who now control 'javascript' have stated publicly that they want it to become the standard 'scripting' language. Much like vba or
tcl. The w3c will be integrating it closely with their xml activities due to it's excelent support of the DOM.
If the answer I provided is useful or informative please check the "answer" button.
Warning: Code is often uncompiled and possibly started life written on the back of a napkin. Beware typos.
Despite my reply being of late, You should remember mr Jeffrey Abecker that JScript.NET is supported only on the server side, and can only be used on the server side with the .NET Framework installed. It cannot be used on the client side even with the .NET
Framework. The main difference between JScript, JavaScript and JScript.NET is that JScript.NET code is compiled, not interpreted, so despite the 900 millisecond pause when launching an application in the .NET CLR, JScript.NET has considerable performance advantages
over JavaScript. And I doubt that JavaScript 2.0 will be that much different than JScript.NET (feature-wise) since most 'new' languages are based on older languages; like C# for example, its obvious Java had some influence on the design of C# even though C#
is the successor to C and C++. However, on that point, its not the replacement for these languages. At any rate, unless JavaScript 2 is backwards compatible with JavaScript 1, then there really won't be any difference between JScript.NET and this JavaScript
2
I do understand that JScript.Net is serverside only. Javascript 2.0 will be backwards comptable. Javascript 2's projected functionality is very similar to JScript.Net. However the Syntax is very very diffrent. If the goal was (as i think) to get the small %
of people who only want to write in 1 language for all their web stuff, This massive gap in syntax + ServerSide only makes JScript.Net pretty-much a moot point for ASP.net anyway. This is not to say that I dont like JScript.Net. It's very nice, just irrlevant.
Also, Please do not address me as Mr, unless of course you are under the age of 10. Im 23, at this point in my life, it's still a little distrubing to be addressed as Mr.
If the answer I provided is useful or informative please check the "answer" button.
Warning: Code is often uncompiled and possibly started life written on the back of a napkin. Beware typos.
I guess you are right, of course, even if Microsoft ported JScript.NET to the client-side not many other browsers would support it in their implementations; you are true on that point. And, confirming your last sentence, I am not under the age of 10, I am a
16 year old well versed in computer science, I assumed everybody else here was old so my "Mr" prefixed before your name was purely in the context of courtesy.
joseph-r-tho...
Member
690 Points
138 Posts
javascript?? jscript?? jscript.net?? wats goin on??
Feb 13, 2004 02:15 AM|LINK
decpersona
Member
310 Points
62 Posts
Re: javascript?? jscript?? jscript.net?? wats goin on??
Feb 15, 2004 11:19 PM|LINK
nberardi
Star
11233 Points
2352 Posts
Re: javascript?? jscript?? jscript.net?? wats goin on??
Feb 17, 2004 02:39 PM|LINK
Spiko-carped...
Member
15 Points
3 Posts
Re: javascript?? jscript?? jscript.net?? wats goin on??
Jul 01, 2004 01:47 PM|LINK
nberardi
Star
11233 Points
2352 Posts
Re: javascript?? jscript?? jscript.net?? wats goin on??
Jul 13, 2004 07:36 PM|LINK
JeffreyABeck...
All-Star
16423 Points
3329 Posts
Re: javascript?? jscript?? jscript.net?? wats goin on??
Dec 24, 2004 05:20 PM|LINK
Warning: Code is often uncompiled and possibly started life written on the back of a napkin. Beware typos.
decpersona
Member
310 Points
62 Posts
Re: javascript?? jscript?? jscript.net?? wats goin on??
Jan 12, 2005 07:22 AM|LINK
JeffreyABeck...
All-Star
16423 Points
3329 Posts
Re: javascript?? jscript?? jscript.net?? wats goin on??
Jan 12, 2005 11:46 AM|LINK
Warning: Code is often uncompiled and possibly started life written on the back of a napkin. Beware typos.
decpersona
Member
310 Points
62 Posts
Re: javascript?? jscript?? jscript.net?? wats goin on??
Jan 14, 2005 01:43 AM|LINK