I LOVE your daily tips. They are amazing and give me great info every day…it’s one of the only daily newsletters I get and definitely one of the best things I’ve signed up for!
I came across a question today that I was wondering if you could help with…what is scripting language versus coding? (Does that question even make sense?) I was on a webinar and they mentioned scripting vs. coding and I can’t find a good explanation of the difference.
Coding and a bit confused
This is a great question, and something I found super confusing when I first started working in development.
The way you should think about it is like this: coding is a catch all for any type of computer language writing. Scripting is a specific type of coding. There are other types too, like markup. But no matter what, if you are writing stuff for a computer to understand you better believe that you are coding!
You can think of it like this:
- Scripting Languages:
- PHP – for that backend
- Python – for Monty Python loving backenders
- Ruby – another one for the backend
- Mark up:
- HTML – for that hypertext
- CSS – for styles
Now, what is scripting? Good question!
In this context, scripting just means any code that automates a process that would otherwise need to be done step by step by a person.
For example, let’s say that I were collecting questions from readers.
Now, I could have you call me and ask me a question, and then I would write down your question, and then I could input it into our database under the name Coding. Then you could decide you wanted to add to the question and you could call me again and tell me your change, and I could go back into the database and change the question and save it again.
As fun as that all would be, it would be even more fun if I wrote a script that allowed you to email me the question and then automatically saved the question in the database under your name, and even allowed you to email me your edits, and update the database.
And I could just sit back and watch Gilmore Girls while my script toils away.
In other words, scripting is awesome and can make your life much easier.