Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^5: Looking for old Perl CGI code

by dragonchild (Archbishop)
on Oct 13, 2005 at 18:54 UTC ( #499991=note: print w/replies, xml ) Need Help??


in reply to Re^4: Looking for old Perl CGI code
in thread Looking for old Perl CGI code

I'm not speaking from the viewpoint of the consumer of the browser. I'm speaking from the viewpoint of the CGI application. It emits a set of containers (PerlMouse is correct) and those tags contain additional data. Those containers and the data they contain are all specified in plaintext and that plaintext is optionally parsed by the browser's rendering engine. The browser doesn't have to be a GUI browser a la IE or FF. It can be something as simple as Notepad or some other editor. That is a legitimate browsing client for a given HTTP stream.

As for HTML being a programming language, I think Stroustrop is trying to find ducks that dig. It just doesn't pass the sniff test.


My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?

Replies are listed 'Best First'.
Re^6: Looking for old Perl CGI code
by sauoq (Abbot) on Oct 13, 2005 at 19:19 UTC
    The browser doesn't have to be a GUI browser a la IE or FF. It can be something as simple as Notepad or some other editor.

    Sure. And, I could step through an algorithm written in C using nothing but pencil and paper too... I don't think you are making a point here.

    As for HTML being a programming language, I think Stroustrop is trying to find ducks that dig. It just doesn't pass the sniff test.

    It only smells funny because you've had your nose so close to—uh... for lack of a better word—"real" programming languages. It is, however, a communication standard and it is used to control devices. Outside of the technical community, that's enough. Inside the technical community, we kind of draw a line between "programming languages" and more general "computer languages" but, again, that distinction isn't very useful to anyone but us. And more importantly, in a legal context it isn't going to help much if at all.

    -sauoq
    "My two cents aren't worth a dime.";
    
      It doesn't pass the sniff test because it stinks. By that definition, phonecalls are a "computer language" because it's both a communication standard and is regularly used to control devices*. Yet, not a single person in the world would agree that the protocol used by telephones is a "computer language".

      <rant>There seems to be some fundamental misunderstanding of how computers work in the mind of the general public. What we do is not magic nor is it some completely new idiom in the history of mankind. We define tasks, then hand them off to a servant (slave, really) to do. The only difference between a computer programmer and a slaveowner in Rome is that our slave will do exactly what we say, has perfect recall, and will do it for as long as was asked for. We're not wizards in a tower stirring a bubbling cauldron containing Eye of Newt and Bat's Wings. Gah! We do nothing more than give directions from A to B.</rant>

      * Remote detonation of a bomb is just the first example that comes to mind. Another is the standard automated thing that you get when you call your bank looking for a human.


      My criteria for good software:
      1. Does it work?
      2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?

        I do understand the irritation. And I had pretty much the same reaction in that debate with my professor a decade or so ago.

        By that definition, phonecalls are a "computer language" because it's both a communication standard and is regularly used to control devices.

        How is a phonecall a communication standard? Regardless of how you answer that, though, I just see it degrading into a discussion about the definition of "language" in this context and I'm not sure how useful that is. If we can agree that HTML is a language and that it is used to control devices, that's sufficient.

        The only difference between a computer programmer and a slaveowner in Rome is that our slave will do exactly what we say, has perfect recall, and will do it for as long as was asked for.

        Provided you don't ask it to do anything too complicated (like feeding you grapes), you are very careful in the way you ask it, you don't require it to recall... say... an irrational number, and you have an infinite supply of power and hardware that will never wear out. :-)

        -sauoq
        "My two cents aren't worth a dime.";
        

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://499991]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2023-12-06 17:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (31 votes). Check out past polls.

    Notices?