Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Scripting vs Programming

Scripting vs Programming

Scheduled Pinned Locked Moved The Lounge
phpvisual-studiotutorialquestion
19 Posts 13 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    Fahad Sadah
    wrote on last edited by
    #1

    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?

    M R S S C 11 Replies Last reply
    0
    • F Fahad Sadah

      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?

      M Offline
      M Offline
      Mustafa Ismail Mustafa
      wrote on last edited by
      #2

      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[^]?

      F 1 Reply Last reply
      0
      • F Fahad Sadah

        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?

        R Offline
        R Offline
        Robert Surtees
        wrote on last edited by
        #3

        No difference. How it is executed has nothing to do with how it is created.

        P 1 Reply Last reply
        0
        • F Fahad Sadah

          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?

          S Offline
          S Offline
          Shog9 0
          wrote on last edited by
          #4

          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.

          1 Reply Last reply
          0
          • F Fahad Sadah

            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?

            S Offline
            S Offline
            Stuart Dootson
            wrote on last edited by
            #5

            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

            1 Reply Last reply
            0
            • F Fahad Sadah

              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?

              C Offline
              C Offline
              Chris Losinger
              wrote on last edited by
              #6

              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.

              image processing toolkits | batch image processing

              1 Reply Last reply
              0
              • F Fahad Sadah

                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?

                realJSOPR Offline
                realJSOPR Offline
                realJSOP
                wrote on last edited by
                #7

                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

                G J 2 Replies Last reply
                0
                • F Fahad Sadah

                  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?

                  Y Offline
                  Y Offline
                  Yusuf
                  wrote on last edited by
                  #8

                  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?

                  F 1 Reply Last reply
                  0
                  • F Fahad Sadah

                    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?

                    P Offline
                    P Offline
                    Phil Martin
                    wrote on last edited by
                    #9

                    I don't think there needs to be a line drawn, or distinction made. They are the same thing after all.

                    S 1 Reply Last reply
                    0
                    • P Phil Martin

                      I don't think there needs to be a line drawn, or distinction made. They are the same thing after all.

                      S Offline
                      S Offline
                      Shog9 0
                      wrote on last edited by
                      #10

                      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:

                      P 1 Reply Last reply
                      0
                      • S Shog9 0

                        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:

                        P Offline
                        P Offline
                        Phil Martin
                        wrote on last edited by
                        #11

                        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 :)

                        1 Reply Last reply
                        0
                        • realJSOPR realJSOP

                          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

                          G Offline
                          G Offline
                          Gary R Wheeler
                          wrote on last edited by
                          #12

                          Mine varies between music and agriculture. Sometimes I'm a composer, others I'm a composter.

                          Software Zen: delete this;
                          Fold With Us![^]

                          1 Reply Last reply
                          0
                          • F Fahad Sadah

                            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?

                            G Offline
                            G Offline
                            Gary R Wheeler
                            wrote on last edited by
                            #13

                            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![^]

                            1 Reply Last reply
                            0
                            • realJSOPR realJSOP

                              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

                              J Offline
                              J Offline
                              Jerry Hammond
                              wrote on last edited by
                              #14

                              And you don't play well either. :)

                              The world is a stage and most of us are desperately unrehearsed. —Sean O’Casey, Playwright

                              1 Reply Last reply
                              0
                              • F Fahad Sadah

                                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?

                                P Offline
                                P Offline
                                PIEBALDconsult
                                wrote on last edited by
                                #15

                                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?

                                1 Reply Last reply
                                0
                                • R Robert Surtees

                                  No difference. How it is executed has nothing to do with how it is created.

                                  P Offline
                                  P Offline
                                  PIEBALDconsult
                                  wrote on last edited by
                                  #16

                                  Therefore the distinction has nothing to do with how it's created. The distinction is in how it's executed.

                                  1 Reply Last reply
                                  0
                                  • F Fahad Sadah

                                    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?

                                    P Offline
                                    P Offline
                                    peterchen
                                    wrote on last edited by
                                    #17

                                    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

                                    1 Reply Last reply
                                    0
                                    • M Mustafa Ismail Mustafa

                                      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[^]?

                                      F Offline
                                      F Offline
                                      Fahad Sadah
                                      wrote on last edited by
                                      #18

                                      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

                                      1 Reply Last reply
                                      0
                                      • Y Yusuf

                                        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?

                                        F Offline
                                        F Offline
                                        Fahad Sadah
                                        wrote on last edited by
                                        #19

                                        There are C interpreters. Does that make C a scripting language?

                                        1 Reply Last reply
                                        0
                                        Reply
                                        • Reply as topic
                                        Log in to reply
                                        • Oldest to Newest
                                        • Newest to Oldest
                                        • Most Votes


                                        • Login

                                        • Don't have an account? Register

                                        • Login or register to search.
                                        • First post
                                          Last post
                                        0
                                        • Categories
                                        • Recent
                                        • Tags
                                        • Popular
                                        • World
                                        • Users
                                        • Groups