Scripting vs Programming
-
Where do you draw the line between Scripting and Programming? There are C interpreters, and PHP can be compiled to byte code, for example. Any ideas?
-
Where do you draw the line between Scripting and Programming? There are C interpreters, and PHP can be compiled to byte code, for example. Any ideas?
Technically, something that is compiled into byte code is called "semi-compiled". A full compilation means that the resulting object code was compiled into native code. Anything other than that I guess would be scripting or doodling.
If the post was helpful, please vote!
Current activities:
- Book: Foundation by Isaac Asimov
- Project: Hospital Automation, final stage
- Learning: Image analysis, LINQ
Now and forever, defiant to the end.
What is Multiple Sclerosis[^]?
-
Where do you draw the line between Scripting and Programming? There are C interpreters, and PHP can be compiled to byte code, for example. Any ideas?
No difference. How it is executed has nothing to do with how it is created.
-
Where do you draw the line between Scripting and Programming? There are C interpreters, and PHP can be compiled to byte code, for example. Any ideas?
Programming: the act of creating a list of steps to be followed by a machine. Scripting: subset of Programming, the automation of a task which you might ordinarily have done by manually, and making use of the same tools. Scripting Language: a programming language specifically designed to enable Scripting, often by providing easy programatic access to the same tools used by interactive users.
-
Where do you draw the line between Scripting and Programming? There are C interpreters, and PHP can be compiled to byte code, for example. Any ideas?
scripting==programming You're giving instructions to the machine - it doesn't matter how it gets there. In fact, one of my favourite languages[^] has both compiled and script-like interfaces. And it's better for it - having a REPL is cool. I wish C++ had one ;P
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
-
Where do you draw the line between Scripting and Programming? There are C interpreters, and PHP can be compiled to byte code, for example. Any ideas?
to me, a "script" is a program written to run inside another program. scripts manipulate or extend their host program and don't have any use outside of it. a non-script program stands alone. yes, you could say even stand-alone programs are scripts running inside the OS. but i'd say that an OS isn't generally considered to be a "program". it's a tough to say where shell scripts fall given that definition, tho. is the shell a program? yes, but it's also considered to be part of the OS.
-
Where do you draw the line between Scripting and Programming? There are C interpreters, and PHP can be compiled to byte code, for example. Any ideas?
I draw the line at scripting. I'm a programmer, not a playwright...
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 -
Where do you draw the line between Scripting and Programming? There are C interpreters, and PHP can be compiled to byte code, for example. Any ideas?
Sometimes the line between the two is blurry. The classic definition is if it compiled it is programming and it is scripting if it is interpreted. I like the more basic definition that, if you can the final output file in notepad and clearly you can read it then it is scripting. If what you see in notepad is bunch of boxes and unreadable characters then it is programming ;)
Yusuf Can I help you?
-
Where do you draw the line between Scripting and Programming? There are C interpreters, and PHP can be compiled to byte code, for example. Any ideas?
I don't think there needs to be a line drawn, or distinction made. They are the same thing after all.
-
I don't think there needs to be a line drawn, or distinction made. They are the same thing after all.
-
Phil Martin... wrote:
I don't think there needs to be a line drawn, or distinction made.
Uh... and just how are we supposed to look down on scripters if we can't be sure who they are? :suss:
Well that's easy, just take the same approach as modern policing - just look down at everyone, until they can prove they are a programmer :)
-
I draw the line at scripting. I'm a programmer, not a playwright...
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001Mine varies between music and agriculture. Sometimes I'm a composer, others I'm a composter.
Software Zen:
delete this;
Fold With Us![^] -
Where do you draw the line between Scripting and Programming? There are C interpreters, and PHP can be compiled to byte code, for example. Any ideas?
I'm a programmer regardless of the language I use. I've written millions of lines of C, C++, Pascal, Ada, LISP, FORTRAN, and assembly language. Over the last six months I've written several thousand lines of C#. All easily recognized programming. I've also written a fair amount of VBScript and some wicked batch files, which I still consider programming.
Software Zen:
delete this;
Fold With Us![^] -
I draw the line at scripting. I'm a programmer, not a playwright...
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001And you don't play well either. :)
The world is a stage and most of us are desperately unrehearsed. —Sean O’Casey, Playwright
-
Where do you draw the line between Scripting and Programming? There are C interpreters, and PHP can be compiled to byte code, for example. Any ideas?
Yeah, it's pretty blurry now. I think that the only line that can be drawn is at compiled/translated. On the other hand, another feature of scripting languages has been a lack of control structures, so I don't argue with they who consider Perl to be a programming language. I also seem to recall that there were both compilers and translators for BASIC, so which is it? The mention of being compiled to machine language makes we wonder about virtual machines. If you compile a C++ program for processor X, but run it on a virtual machine on processor Y, does that make it a script?
-
No difference. How it is executed has nothing to do with how it is created.
Therefore the distinction has nothing to do with how it's created. The distinction is in how it's executed.
-
Where do you draw the line between Scripting and Programming? There are C interpreters, and PHP can be compiled to byte code, for example. Any ideas?
Scripting is for now, programming for eternity. At least, that's how it should be, an "eternity" usually means maintenance for the next five years.
Don't attribute to stupidity what can be equally well explained by buerocracy.
My latest article | Linkify!| FoldWithUs! | sighist -
Technically, something that is compiled into byte code is called "semi-compiled". A full compilation means that the resulting object code was compiled into native code. Anything other than that I guess would be scripting or doodling.
If the post was helpful, please vote!
Current activities:
- Book: Foundation by Isaac Asimov
- Project: Hospital Automation, final stage
- Learning: Image analysis, LINQ
Now and forever, defiant to the end.
What is Multiple Sclerosis[^]?
As Robert says below, how it is created has nothing to do with how it is executed. There are plenty of languages that can be more than one of: Compiled Semicompiled Interpreted
-
Sometimes the line between the two is blurry. The classic definition is if it compiled it is programming and it is scripting if it is interpreted. I like the more basic definition that, if you can the final output file in notepad and clearly you can read it then it is scripting. If what you see in notepad is bunch of boxes and unreadable characters then it is programming ;)
Yusuf Can I help you?
There are C interpreters. Does that make C a scripting language?