The word 'script', I know it from days I started practicing Shell script. My understanding for script then it was -- a small set of instructions in a file or piped through in a command.
Prior to this, I had heard VBScript. But, I did not use VBScript.
The bash script that I wrote did not span beyond 50 lines, then.
This was my first encounter with word 'script' and how I dealt with set of instructions grouped in a file and called it script.
The Ambiguity -- Script or Code?
I have this conversation in myself for a long time ow -- What is Scripting Language and Programming Language?
Technically, there are reasons why the two are seen as different paradigms in building and running the software systems.
That said, Python serves as Programming Language and also as a Scripting Language. I learn JavaScript also falls into the same perspective.
In short, this is what I understand for script -- technically compilation exist but I do need to do it explicitly, can run using interpreter, quick and useful in automation of tasks.
Today's programming languages can also work like scripting languages. I see this is one of the key reason for the ambiguity.
- I understand, the scripting languages leverages the speed of writing and automation.
- Whereas, the programming languages leverages performance, structure and scaling of systems with better control for processing, memory, storage, exchange and communication.
Mental Model -- To Ease My Understanding
- Say, the instant coffee that I prepare with Bru or Nescafe sachet and milk.
- Though there is a kind of compilation, that is, mixing of coffee powder and milk, it is not evident to viewer, who is making it, and the coffee sipper.
- That was fast making an instant coffee!
- Me preparing the coffee by boiling the milk and then add coffee powder. Boil it for few minutes. Then filter and sip it.
- This is not as a instant coffee.
- It had different layers [explicit compilation] to go through before feeling the aroma of coffee and sipping it.
Philosophical Perspective -- Everything is Script
Caution: This section is not confusing; it needs imagination and interpretation to see it.
I have been into this debate with myself. One of me says, why the word 'script' is not so right for context. While the another in me says, why the word 'script' is so right -- this person have had a upper hand so far in the debate.
- Philosophically, whatever I do it is a script.
- In that case, a software version deployed itself is a script.
- Why?
- A software system is a bunch of such coordinating scripts.
- Each script has a structure, organization, specific seams and responsibilities assigned to it.
- These scripts undergoes changes consistently to keep it contemporary!
- The word contemporary weighs and augments the notion of 'script' in the software.

