among VB Scripts and Java Scripts which is better?

Posted by Maheshvishnu under JavaScript on 8/29/2012 | Points: 10 | Views : 976 | Status : [Member] | Replies : 1
among VB Scripts and Java Scripts which is better and why?



Posted by: Saratvaddilli on: 8/29/2012 [Member] [MVP] Bronze | Points: 25



Both languages are easy to learn and do not require any expensive development tools
Both can be used to enhance web pages
They run on client machines and can substitute CGI programs to reduce server loads
Both can abuse and run malicious scripts on clients' machines

JavaScript is the default scripting language for browsers but VBScript must be specified as the scripting language.
JavaScript has cross-platform support from all popular browsers while VBScript is supported MS IE only. VBScripters would thus loose a sizable audience.
One of the most significant issues with JavaScript is that there were different releases of the language since its inception (version 1.0). Similarly, different versions of browsers exist on users machines. Therefore, code written for one version may not necessarily work on another. More testing would be necessary thus, development time increases.
JavaScript is case sensitive but VBScript is not this would not be prone to as many syntax errors.<
JavaScript uses the same character for concatenation as it does for addition (the + character) while the '&' concatenating character is used in VBScript. This is another source of errors in JavaScript.
For More refer this link

Thanks and Regards
Show difficulties that how difficult you are

Maheshvishnu, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response