What is the difference between script and code? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

What is the difference between script and code?

26th Feb 2021, 6:38 PM
Kavya N
Kavya N - avatar
4 Answers
+ 16
A code lets you create a program. On the other hand, a script lets you control the program that you created with coding. Thousands of lines of code is compiled to run a program. On the other hand, a script runs within that program to control a certain aspect of it.
28th Feb 2021, 2:39 PM
Ded
+ 4
https://skillcrush.com/blog/coding-vs-scripting/ https://medium.com/@tyler_25661/is-there-a-difference-between-scripting-and-coding-f14b69eca4e Coding Is a Genre, Scripting Is a Subgenre So coding includes more than just scripting, but scripting is a kind of coding.. hope these helps...
26th Feb 2021, 6:58 PM
Jayakrishna 🇮🇳
+ 3
A script is code that is interpreted than code that is compiled or code that is meant to be declarative.
26th Feb 2021, 7:57 PM
Sonic
Sonic - avatar
+ 3
Code is a more general term. Code can be markup, compiled/interpreted code, an encoded bytestream etc.
26th Feb 2021, 7:58 PM
Sonic
Sonic - avatar