Scripting Vs Programming Language

Programming Language

Programming languages are a little more difficult to learn and write because they usually require a lot of code just to write a simple function. But programming languages run faster because the entire program is read at the time of compiling, this also leads to fewer runtime errors because the compiler will not accept any errors since it is reading the whole program before running. There are five subcategories of programming languages that are pretty easy to remember.

  • First Gen
  • Second Gen
  • Third Gen
  • Fourth Gen
  • Fifth Gen

Scripting Languages

Scripting languages are essentially the opposite of programming languages. They are very easy to learn very high language programs with the ability to code quickly and have many libraries. The downside is they tend to run slower and are also susceptible to runtime errors because the interpreter reads small chunks of code at a time so you can throw an error in the middle of running your program. There are only two categories server-side and client-side. Some examples of scripting languages are JavaScript, Perl, PHP, Python, Ruby, and many many more. Scripting languages are dependent on other programs to run like the example I gave earlier of JavaScript requiring a web browser to run the code.

Conclusion

So now you know the basic information on what separates a scripting language from a programming language if you want to find out more you can learn more about compilers, interpreters, and the different languages that can be used as a hybrid. I hope this was helpful and next time you choose the right type of language for your program.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store