Jump to content

Recommended Posts

Posted

I am a bit confused about the difference between programming and scripting.......

 

Can any one tell me the definition of scripting?

 

Albert

Posted

For the most part, scripts are an interpreted language; that is, an interpreter will go through your code line by line, and execute those instructions as it goes along (for example, PHP, perl, Python, etc). A compiled language (such as C/C++), the entire source file is converted to a format the machine can understand - please note that most of the time this isn't machine code, but rather an extremely fast and rather simplistic interpreted language.

Posted

A unix shell is basically an interpreter - it does the executing part.

 

You type commands into this shell and it executes them - basically you tell the shell what to do.

 

If you're referring to UNIX applications, then these are (for the most part) compiled programs that, as I said before, are put into a specific format (ELF mostly) for a very fast interpreter built into the kernel.

Posted

Do all scripting languages use for making webiste? if not, then what is the use of scripting language in another ways?

 

Albert

Posted

No, only selected languages (e.g. JavaScript). Other languages such as IRC clients use scripting languages so that people can add functionality to the program easily.

Posted

There's no one specific scripting language inherant to Windows. VBScript is one of them though, yes.

 

I've already explained how VBScript is used though.

Posted

As far as I'm aware, the two main uses for VBScript are:

 

1) To add functionality to webpages (in the same kind of way as JavaScript)

2) To add functionality to programs in general, if the programmer so desires.

 

I can't tell you any more than that, sorry :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.