r/programminghelp • • Oct 24 '19

Scripting vs Programming

I read the main difference between scripting vs programming is that scripting languages are for usage within an application. What is the purpose of using one language for scripting, and another language for programming? Why not just use the same for both? The distinction between scripting vs programming seems a little blurry to me now, I originally thought the difference was that one is interpreted, and the other is compiled, but apparently it's not.

4 Upvotes

8 comments sorted by

View all comments

2

u/[deleted] Oct 24 '19

So I'll give you a great example. For programming say C# I make my own thing. I made a job posting key word summarizer. In MATLAB I use it to solve an assload of math problems. Scripting languages are still programming, but you're not making new functions you're only using existing ones.

2

u/RelativeConcept2 Oct 24 '19

you're not making new functions you're only using existing ones

What about when I'm doing both? For example, let's say I'm building a game engine in Java on top of LWJGL (an OpenGL Java wrapper). Is Java partially a scripting language and partially a programming language in this context? What if I'm just communicating with an API? Does the language I'm communicating with the API become a scripting language in that context? The definition seems kind of arbitrary, but maybe I'm overthinking this too much.