LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


View Poll Results: Is scripting programming?
Yay! 48 65.75%
Nay! 16 21.92%
Undecided. 7 9.59%
Doesn't concern me. 2 2.74%
Voters: 73. You may not vote on this poll

Reply
  Search this Thread
Old 02-23-2004, 07:10 PM   #1
chewysplace
Member
 
Registered: Sep 2003
Distribution: Slackware 10 w/ Kernel 2.6.8
Posts: 176

Rep: Reputation: 30
Post Debate: Is scripting realy programming?


*WARNING* READ THIS CAREFULY!

Lurkers: if your not going to comment, atleast vote :p tons of views and 14 votes.

I've seen this disscused many times in many IRC rooms and was wondering what the opinion of this forum was. PLEASE no slandering from either side. If you have a disagreement put your answer in an intelligable form. I would also appreciate, as i'm shure the moderators would, that no one attacks another personaly. No calling one another "fools", "idiots", etc. This is intended for you to present your argument for one side or the other or both, and then back it up. Not just say it is or isn't because you said so. This DOES NOT apply to just one scripting language but to all. What i'm gona provide is what i've seen in general in such disscusions amongst scripters and coders.

Is scripting realy programming:

Yay:
Scripting is programming due to the fact that they share the same characteristics. For example you must declare variables, you have if/else statements etc.

Nay:
Scripting is NOT programming because what makes programming different is that it requires a compiler.

Where this debate goes is up to you. I stress again, PLEASE refrain from insults, personal attacks and outright childishness. Keep this on an intellectual level as much as possible.

To the moderators:
I would appreciate it if you could remove such negative comments as i've listed above. If you dont wish to thats fine, no hard feelings about it.

Thanks to all and ejoy.

Last edited by chewysplace; 02-24-2004 at 04:31 AM.
 
Old 02-23-2004, 07:24 PM   #2
snacky
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 286

Rep: Reputation: 30
Would be nice to specify two answers at once: "Yay" plus "Doesn't concern me."

As far as I can tell, the only reason this debate exists is because some confused bored 13-year olds look for social acceptance by proclaiming their programming skills as mIRC script writers. And other bored people want to have a coherent reason to put them down.

Cleary some programming is much more skilled and involved than others, but as far as I'm concerned, if you're writing original material of some kind you're a programmer. Doesn't matter whether it's PostScript, bash, qbasic, or 6502 assembly.

So, yes, but nobody should be so caught up on it.
 
Old 02-23-2004, 07:32 PM   #3
chewysplace
Member
 
Registered: Sep 2003
Distribution: Slackware 10 w/ Kernel 2.6.8
Posts: 176

Original Poster
Rep: Reputation: 30
Yay as in yes you believe that Scripting is the same as programming.
Doesn't concer me, well that should be self explanitory.

FYI, the people i was talking to i know from college, so its not some 13 year old situation. Why people believe its always 10-16 year olds doing this i dont know. There are those out there in the professional world that debate this subject so please no more 13 year old stuff.
 
Old 02-23-2004, 07:44 PM   #4
snacky
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 286

Rep: Reputation: 30
I'm just explaining where I've seen the debate crop up before. I didn't even read your post carefully enough before replying to see that you mentioned IRC.

I'm willing to defend an irc script as a program, just as I'm willing to defend a "hello world" C program as... a program. Neither is impressive though, which I think is what the debate is truly about. And that's why the debate quickly crosses into "who cares" territory.

Compiled vs. interpreted is a complete red herring, and IMO an artificial excuse used to either denigrate or pump up one particular approach over another. I don't think it's necessary to get into technical reasons why the distinction is so artificial, because most people are willing to reconsider when they are told that you CAN compile perl - or qbasic, for that matter - and contrary to popular belief, there are C interpreters.
 
Old 02-23-2004, 07:56 PM   #5
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Scripting is scripting, programming is programming.

To consider something truly a programming language it has to allow for at least a certain amount of CS theory stuff to be applied. Data structures, algorithms, things of this nature.

Scripting is very useful, but it sure isn't programming. Same goes for markup languages like HTML in my opinion as well. That isn't programming, that is formatting output/input

Anyway, if you walk into a job interview for a programming job and they ask you what languages you have experience in and you say "Bash scripts and HTML" they will laugh at your expense as soon as you leave... believe me, I have been in the room when it happened.

Now if you said "Bash scripts, HTML, and <insert programming language like C, C++, python, Java here>" we might be inclined to think you are employable.

Last edited by jtshaw; 02-23-2004 at 07:59 PM.
 
Old 02-23-2004, 08:07 PM   #6
snacky
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 286

Rep: Reputation: 30
Markup isn't programming for the reason you give (it's formatting), but you didn't give any reason why "scripting" wouldn't qualify: I don't know off the top of my head of any "scripting language" that lacks the concept of data structures, let alone algorithms. Also, most commonly-used scripting languages are Turing-complete.

I would also add that "script" is a vague term that doesn't help out the "programming-or-not" debate at all. You can translate any algorithm from bash to C to postscript to Java, because they're all turing-complete. (bash lacks an EASY way to make system calls and library calls, but this is superficial, and could actually be implemented by someone who doesn't mind doing things the VERY HARD way. and clearly the use or non-use of system calls and libraries don't define whether you're programming or not, since these things actually INSULATE the programmer from the algorithms and hardware!)
 
Old 02-23-2004, 08:14 PM   #7
caged
Member
 
Registered: Jan 2004
Location: new zealand
Distribution: Mandrake,Slackware
Posts: 165

Rep: Reputation: 30
i say yeah.

it still uses the same rules as a compiled language would and as someone pointed out on another related thread. java wouldnt qualify as a programming lanuage either since the .class files have to refer to an interpretor.

We can spilt stuff up into too many classifications. if you can write programs in a language that requires compiling before you can run them then you can generally write scripts in a language that doesnt and vice versa. so the answer is yes you are programming if you are writing a script.

i think. obviously im not unopposed.

Have fun.
Ben.
 
Old 02-23-2004, 08:30 PM   #8
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
I guess I'll concede that many scripting languages these days have a lot of features. Maybe I'll even concede it is programming on some level.

But it certainly isn't serious programming. You wouldn't build a large application in a scripting language. You can't build low level kernel stuff in a scripting language (course you can't build one in java either..). Scripting languages are still much more limited then languages like C, C++, Java, or Python.

Most don't support building libraries. Many don't support some of the advanced data structures.

A lot of the skills may be the same, but if all you can do is write scripts and don't know any traditional programming languages I can guarantee you great difficulty getting employed based on that skill.

Anyway, I can see this getting ugly, and I don't want to turn it into a flame fest.

So this is my opinion, take it or leave it. You are certainly entitled to your own, even if it is wrong (j/k).
 
Old 02-23-2004, 08:49 PM   #9
snacky
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 286

Rep: Reputation: 30
You'd prefer not to build a large, complicated application in assembly either, but that doesn't necessarily make it any less serious than C++
Quote:
Scripting languages are still much more limited then languages like C, C++, Java, or Python.
Python is normally interpreted; so is perl and it offers libraries and OO (if that even matters). I fail to see how the distinction is anything but arbitrary. Again it is coming down to which tends to be used for more "impressive" applications.

I could easily re-write many of my startup scripts in C, and some people actually do this for at least some scripts to get a significant boot-time speedup. Even though the code is doing the exact same thing, is it still a "startup script" or not? This begins to get into why I think the whole debate is so utterly pointless. Apparently, a "script" is any program that is too unimpressive to be taken seriously by "real programmers." If impressiveness is so important, why not just call them "unimpressive programs"?
 
Old 02-23-2004, 08:52 PM   #10
caged
Member
 
Registered: Jan 2004
Location: new zealand
Distribution: Mandrake,Slackware
Posts: 165

Rep: Reputation: 30
how do the yays and nays feel about PHP? its a pretty powerful scripting language.
 
Old 02-23-2004, 09:36 PM   #11
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
Shell scripts and batch files have always been a way to do some programming without knowing a programing language.
Unless you are writing machine code it is a argument about semantics. Compiler or no compiler is just an argument. Putting a formatted set of commands in a certain order to attain a certain result is what is the same. "Real" programming languages do offer more options and take more knowledge, in my belief. But an excellent batch or shell scripter renders moot the need for some programs.
I am a terrible second rate hack shell scripter.
I managed to create a number of shell scripts that have menu interfaces (all console), call a text editor with a preformatted form, cat previously entered information into an html document to be viewed in links (console web browser), pull up a console file manager to edit or delete a file, search with grep in a preformatted manor in specific directories, copy files to a floppy by entering the date of the document (mounting and unmounting is handled by the script), basically it does what I want by using available software tools. The people that use it call it a program, it seems like one connected thing to them. I correct that definition with anyone that could follow the disclaimer.
Draw the lines where you want. Shell scripts and batch files are a type of programing.
 
Old 02-23-2004, 10:11 PM   #12
Chris Weimer
Member
 
Registered: Jan 2004
Location: NYC
Distribution: Fedora XFCE
Posts: 91

Rep: Reputation: Disabled
Quote:
Scripting is NOT programming because what makes programming different is that it requires a compiler.
You don't use a compiler for Python. I think the distinction should be not in scripting programming, but in compiled programming and interpreted programming, as to there is more REAL debate there. Or in uses, I have in my website a collection of tutorials, divided into three sections: Computer Programming; Web Programming (including scripting languages and markup languages) and Database Programming (that which uses the structured query language).
 
Old 02-23-2004, 10:18 PM   #13
chewysplace
Member
 
Registered: Sep 2003
Distribution: Slackware 10 w/ Kernel 2.6.8
Posts: 176

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by caged
how do the yays and nays feel about PHP? its a pretty powerful scripting language.
As powerful as it may be, by using it are you truely programming? I'm not one way or the other, but i'd like to hear a more indepth opinion if you have one.

Thanks to all for keeping this an intellectual discusion.
 
Old 02-24-2004, 12:56 AM   #14
Strike
Member
 
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569

Rep: Reputation: 31
Quote:
Originally posted by jtshaw
But it certainly isn't serious programming. You wouldn't build a large application in a scripting language.
Bullshit. Wanna bet? Look at Zope. Written entirely in Python, and it's a very large application.

Quote:
Scripting languages are still much more limited then languages like C, C++, Java, or Python.
Do you know what you are talking about? Python is an interpreted language (hell, so is Java to a degree), how else are you going to differentiate scripting languages from "real" languages?

Quote:
Most don't support building libraries. Many don't support some of the advanced data structures.
You better define "scripting languges" before you get a heap of crap thrown at you.

Quote:
A lot of the skills may be the same, but if all you can do is write scripts and don't know any traditional programming languages I can guarantee you great difficulty getting employed based on that skill.
And you have yet to explain the different skillsets possessed by the two.
 
Old 02-24-2004, 12:59 AM   #15
Strike
Member
 
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569

Rep: Reputation: 31
Any language that is Turing complete is considered a programming language in my book, and anyone who can design solutions to problems in said language is a programmer in my book. As most scripting languages that I've ever seen are Turing complete, then yes, scripting is most definitely programming.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Automating simple commands, scripting or programming? entob *BSD 3 09-01-2004 01:56 AM
CFLAGS -O2 -O3 does it realy matter? eken_i_leken Linux - Software 3 08-05-2004 06:46 AM
Realy Realy Need some basics Essay Slackware 7 04-26-2004 04:59 PM
How to REALY shut down the computer? caphclimber Linux - Software 8 09-08-2003 08:24 PM
scripting or programming question - running a program ewto Linux - Newbie 2 09-05-2003 11:46 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration