Home All Groups Group Topic Archive Search About


Author
18 Nov 2007 7:13 AM
Hassan
Are there any pros and cons of VBScript and JScript ?

I want to learn one scripting language and just bought a book on VBScript,
but also see many programmers using JScript for their Web programming ?

So i want to know when to use one vs the other ?

Please let me know. I dont want to spend too much time studying one language
and then realize I should have started with the other.

So one question is whatever I do with one scripting language, can the other
do it equally well ?

Thanks

Author
19 Nov 2007 5:58 AM
Kuma
Show quote
On Nov 18, 4:13 pm, "Hassan" <has***@test.com> wrote:
> Are there any pros and cons of VBScript and JScript ?
>
> I want to learn one scripting language and just bought a book on VBScript,
> but also see many programmers using JScript for their Web programming ?
>
> So i want to know when to use one vs the other ?
>
> Please let me know. I dont want to spend too much time studying one language
> and then realize I should have started with the other.
>
> So one question is whatever I do with one scripting language, can the other
> do it equally well ?
>
> Thanks

My 0.02 cents. They are not equal. While either one is probably
capable of doing the same tasks, each has strengths and weaknesses.
Check out this http://webcoder.info/reference/vbsvsjs.html for a bit
of background. I would ask what you are planning to do. If you are
looking at web development VBScript or Javascript are probably your
best choices. I don't know very many people who actually use JScript.
If you are looking at server administration scripting, I would
strongly recommend looking at Windows Powershell. Again people may
disagree bu that's my point of view.
Author
19 Nov 2007 8:16 PM
Hassan
I thought JScript was Javascript.

Maybe i should have asked differences between VBScript and Javascript. Can
you tell me the pros and cons.

Show quote
"Kuma" <kumasa***@hotmail.com> wrote in message
news:36698332-f714-43d2-aaa8-6b201bc43652@y5g2000hsf.googlegroups.com...
> On Nov 18, 4:13 pm, "Hassan" <has***@test.com> wrote:
>> Are there any pros and cons of VBScript and JScript ?
>>
>> I want to learn one scripting language and just bought a book on
>> VBScript,
>> but also see many programmers using JScript for their Web programming ?
>>
>> So i want to know when to use one vs the other ?
>>
>> Please let me know. I dont want to spend too much time studying one
>> language
>> and then realize I should have started with the other.
>>
>> So one question is whatever I do with one scripting language, can the
>> other
>> do it equally well ?
>>
>> Thanks
>
> My 0.02 cents. They are not equal. While either one is probably
> capable of doing the same tasks, each has strengths and weaknesses.
> Check out this http://webcoder.info/reference/vbsvsjs.html for a bit
> of background. I would ask what you are planning to do. If you are
> looking at web development VBScript or Javascript are probably your
> best choices. I don't know very many people who actually use JScript.
> If you are looking at server administration scripting, I would
> strongly recommend looking at Windows Powershell. Again people may
> disagree bu that's my point of view.
Author
19 Nov 2007 11:22 PM
Kuma
Show quote
On Nov 20, 5:16 am, "Hassan" <has***@test.com> wrote:
> I thought JScript was Javascript.
>
> Maybe i should have asked differences between VBScript and Javascript. Can
> you tell me the pros and cons.
>
> "Kuma" <kumasa***@hotmail.com> wrote in message
>
> news:36698332-f714-43d2-aaa8-6b201bc43652@y5g2000hsf.googlegroups.com...
>
>
>
> > On Nov 18, 4:13 pm, "Hassan" <has***@test.com> wrote:
> >> Are there any pros and cons of VBScript and JScript ?
>
> >> I want to learn one scripting language and just bought a book on
> >> VBScript,
> >> but also see many programmers using JScript for their Web programming ?
>
> >> So i want to know when to use one vs the other ?
>
> >> Please let me know. I dont want to spend too much time studying one
> >> language
> >> and then realize I should have started with the other.
>
> >> So one question is whatever I do with one scripting language, can the
> >> other
> >> do it equally well ?
>
> >> Thanks
>
> > My 0.02 cents. They are not equal. While either one is probably
> > capable of doing the same tasks, each has strengths and weaknesses.
> > Check out thishttp://webcoder.info/reference/vbsvsjs.htmlfor a bit
> > of background. I would ask what you are planning to do. If you are
> > looking at web development VBScript or Javascript are probably your
> > best choices. I don't know very many people who actually use JScript.
> > If you are looking at server administration scripting, I would
> > strongly recommend looking at Windows Powershell. Again people may
> > disagree bu that's my point of view.- Hide quoted text -
>
> - Show quoted text -

JScript is Microsoft's implementaion of the ECMA-262 scripting
standard. JavaScript is Netscape's implementation of the same
standard. While they are similar there are some substantial
differences. As for VBScipt vs JavaScript, VBScript's syntax is
similar to Visual Basic (VB) while JavaScript's syntax is similar to
Java or C. In usage JavaScript is pretty much usable by any browser
where as some browsers may not like VBScript. For scripting on a local
machine (IE not a webpage) VBScript is pretty much built into Windows
and is easy to run whereas JavaScript isn't. I hope that helps a bit.

AddThis Social Bookmark Button