Whats the difference bewteen scripting and programming?

Page 2 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

Blackjack200

Lifer
May 28, 2007
15,995
1,688
126
If I've got a simple task to do (eg the text-file-of-URLS example) then I knock it up in shell script. By the time that simple task has feature-creeped up to more than 20 lines I start to wish I'd written it in Perl. So I rewrite. By the time that Perl script has crept up to more than 200 lines I start to wish it was written in Python. So I rewrite. By the time that Python script has crept up to 2000 lines I start to wish I'd farmed the job out to a team of programmers, and I give up caring what language its written in and make them do it as a web service. Then I write a small shell script to call their web service. When that shell script has feature-creeped up to more than 20 lines...

Heh, that's pretty good.
 

LiuKangBakinPie

Diamond Member
Jan 31, 2011
3,903
0
0
-----Programming-----
| |
Scripting(JS/VBS) Compiling(C++/VB)
| |
-----Helpdesk Staff----
| |
-----Cleaners-----
| |
-----Amoeba-----
| |
-----Project Managers-----
 

Zeze

Lifer
Mar 4, 2011
11,395
1,189
126
-----Programming-----
| |
Scripting(JS/VBS) Compiling(C++/VB)
| |
-----Helpdesk Staff----
| |
-----Cleaners-----
| |
-----Amoeba-----
| |
-----Project Managers-----

Don't get mad because we use you and tell you what to do. ;)
 

Arcadio

Diamond Member
Jun 5, 2007
5,637
24
81
The unfortunate side effect of high level languages such as .NET flavors and Java, is that "programmers" who are introduced into programming at this level actually don't know how to program for obsolete systems. The industry is in a really sad state right now.

Fixed
 

Stuxnet

Diamond Member
Jun 16, 2005
8,392
1
0
Don't get mad because we use you and tell you what to do. ;)

Don't get mad that we actually have more influence and authority than you do ;)

A couple leads and I were actually feeling sorry for a PM one day when one of our senior devs graphed each of our roles in terms of authority and accountability. If x=Accountability and Y=Authority, Project Managers are at (inf, 0).
 
Last edited:

LiuKangBakinPie

Diamond Member
Jan 31, 2011
3,903
0
0
Don't get mad because we use you and tell you what to do. ;)
I'm not a real programmer. I throw together things until it works then I move on. The real programmers will say: "yeah it works but you're leaking memory everywhere. Perhaps we should fix that". Fuck it I will just restart apache every 10 requests.
 

Stuxnet

Diamond Member
Jun 16, 2005
8,392
1
0
I'm not a real programmer. I throw together things until it works then I move on. The real programmers will say: "yeah it works but you're leaking memory everywhere. Perhaps we should fix that". Fuck it I will just restart apache every 10 requests.

That's not funny - I actually had one of my devs say that to me once (except we were talking about IIS, not Apache).
 

PimpJuice

Platinum Member
Feb 14, 2005
2,051
1
76
there are programming languages that are run by interpreters
http://en.wikipedia.org/wiki/Interpreted_language


so the answer is:

'programmers' call computer code 'programming'
engineers or administrators call computer code 'scripting'

it is basically an elitist thing, 'programmers' think they are better than everybody else
someone that writes a 'script' just want to get the job done and go back to neffing/playing WoW/hacking something, etc etc

also, if the code is part of a project, i.e. a project manager/budget is involved, then the code is 'programming'
if the code is part of ongoing operations/maintenance activity/there is no chance to climb the corporate ladder from the use of the code, then it is scripting

This is the dumbest thing I've read all day. You don't know what the hell you're talking about.
 

Modelworks

Lifer
Feb 22, 2007
16,240
7
76
scripting - telling the computer what you want done
programming - telling the computer how to do what you want done
 

janas19

Platinum Member
Nov 10, 2011
2,313
1
0
Scripting is interpreted at run time, and is synonymous with a "macro"; it instructs the computer to perform actions based on applications and tools already present on the system, and interacts with resources at the user level.

Programming generally results in compiled code, it instructs the processor to perform operations and interact with resources at the machine level.

The unfortunate side effect of high level languages such as .NET flavors and Java, is that "programmers" who are introduced into programming at this level actually don't know how to program. The industry is in a really sad state right now.

I likey! :D
 

Phoenix86

Lifer
May 21, 2003
14,644
10
81
I love all the definitions, some of which are the same damn thing with an insignificant difference.

It's like trying to define engineer. /popcorn
 

LiuKangBakinPie

Diamond Member
Jan 31, 2011
3,903
0
0
Had a senior developer mentor her as the two of them tracked down the leak. She's actually one of my least favorite people. Ever.

haha You had a woman. I wish I had the 80 yr old version of Bill Gates. We didn't know who's uptime is going to end first his or the server
 

LiuKangBakinPie

Diamond Member
Jan 31, 2011
3,903
0
0
Scripting is not a technical term. Its called a scripting language cause we are primarily making a linguistic and cultural judgment, not a technical judgment.

You might think of a string as a pointer to a byte array if you're a C programmer, or as a list if you're a functional programmer, or as an object if you're a Java programmer. I view a string as a Text, with a capital T.