DEV Community

Discussion on: Why and where Python?

Collapse
 
chandrika56 profile image
Jaya chandrika reddy

What is the difference between a scripting language and a programming language?

Collapse
 
developertharun profile image
Tharun Shiv

So there are a few major differences between scripting language and programming languages.

  1. Compilation
    When languages function as a programming language, they are compiled first, but when they function as a scripting language they aren't compiled.

  2. Speed of execution
    Compiled languages are faster when compared to the uncompiled ones.

A programming language is mainly used to write code which takes in inputs, processes and gives outputs or does tasks.
A scripting language is mainly used to write scripts which are run when certain event takes place and does some action. Something like automation, jobs etc.,

Hope this helps 😊

Collapse
 
venkat121998 profile image
venkat anirudh

Well said

Thread Thread
 
developertharun profile image
Tharun Shiv

Thank you

Collapse
 
chandrika56 profile image
Jaya chandrika reddy

Yes, thanks