Questions tagged [scripting]

In computer programming, a script is a program or sequence of instructions that is interpreted or carried out by another program rather than by the computer processor (like a compiled program is).

The term "scripting language" is used to describe a high-level programming language with relatively transparent syntax i.e. human readable. Most computer users view programming as something which is difficult. For this reason languages such as PERL, PHP and VBScript (ASP) are referred to and marketed as scripting languages to avoid the dreaded "p" word. In computer programming, a script is a program or sequence of instructions that is interpreted or carried out by another program rather than by the computer processor (like a compiled program is). In general, script languages are easier and faster to code in than the more structured and compiled languages such as C and C++. However, a script takes longer to run than a compiled program since each instruction is being handled by another program first (requiring additional instructions) rather than directly by the basic instruction processor.

134 questions
70
votes
10 answers

When would using a scripting language within a larger program be useful?

I have heard of several situations of people using say, JavaScript or Python (or something), inside a program written in C#. When would using a language like JavaScript to do something in a C# program be better then just doing it in C#?
Toby Person
  • 681
  • 5
  • 4
3
votes
3 answers

When is a script no longer a script?

I write many a PowerShell script for the organization I currently work for. Most recently I have been co-writing a tool that, in the end, will have a lot of functionality (beyond a single purpose), will be configurable, and will have both a CLI and…
1
vote
5 answers

Catching typos or other errors in web-based scripting languages

My background is mainly strongly typed languages (java, c++, c#). Having recently gotten back to a bit of javascript, I found it a bit annoying that if I misspell something by accident (for example I'll type 'myvar' instead of 'myVar') my entire…
user19718
1
vote
1 answer

Differentiating between user script input formats

I have a .NET project at work that provides a couple of (Iron)Python scripts to the customers, to allow them to customize the output of the program. The application generates code for certain machines, and supports a couple of different formats.…
KChaloux
  • 5,803
  • 4
  • 35
  • 34