Hacker News new | ask | show | jobs
by strzibny 2841 days ago
> It's technically scripting, not programming

Nope. Dynamic types have nothing to do with scripting vs programming. What a nonsense!

Sorry I had to:).

1 comments

You misunderstood me. I agree that scripting and programming have nothing to do with dynamic types.

> It's technically scripting, not programming, but can you imagine if Bash files were type hinted?

I was clarifying that writing Bash files was scripting and not programming.

How is writing bash files not programming though?

I understand it's historically been called 'scripting' instead, but 'technically' it's as much of a programming language as Python is, don't you think?

"Technically" of course it's just as much of a programming language, but "practically" it's normally used to kick off other programs, and is just glue meant to pass input and output between programs. FWIW, when people use Python for small automation tasks, I usually hear them referred to as scripts instead of programs. Program seems to imply that it's useful on its own, script implies that it doesn't serve a purpose besides running other programs that are generally useful.
I might be being a bit "old hat", but I thought a programming language was one that you had to to compile (such as C) whereas a scripting language was one that was interperated (such as Python). I could be wrong but there appears to be some similar lines of thought on this.

https://stackoverflow.com/questions/17253545/scripting-langu...