Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Re: Multi tiered web applications in Perl

by chromatic (Archbishop)
on Oct 21, 2003 at 16:43 UTC ( [id://300989]=note: print w/replies, xml ) Need Help??


in reply to Re: Multi tiered web applications in Perl
in thread Multi tiered web applications in Perl

4GL languages, like Perl or Python

Without commenting on the rest of your post, how do you classify Perl and Python as 4GLs? They're not application specific, they have conditional and looping operators, and they don't require a database.

  • Comment on Re: Re: Multi tiered web applications in Perl

Replies are listed 'Best First'.
Re: Re: Re: Multi tiered web applications in Perl
by dragonchild (Archbishop) on Oct 21, 2003 at 16:57 UTC
    4GL => 4th generation languages. I've often heard Perl described as a fourth generation language. Of course, I should've looked up the definition first.

    Often abbreviated 4GL, fourth-generation languages are programming languages closer to human languages than typical high-level programming languages. Most 4GLs are used to access databases. For example, a typical 4GL command is FIND ALL RECORDS WHERE NAME IS "SMITH"

    But, the definition can apply to Perl, in that the language is much closer to English than C or Java. For example,

    foreach $item (@list_of_stuff) { next if $item eq "Something bad"; do_stuff($item); }

    And, from what I've read about Perl6, this will be even more the case. My feeling is that any language that provides the following is a candidate for being a 4th-generation lenguage.

    • Abstracts away physical hardware (where possible), like memory management
    • Provide higher-order constructs as first-order variables (like hashes)
    • Allows for flows that closely map to human thought processes

    But, as always, this is just my opinion.

    ------
    We are the carpenters and bricklayers of the Information Age.

    The idea is a little like C++ templates, except not quite so brain-meltingly complicated. -- TheDamian, Exegesis 6

    ... strings and arrays will suffice. As they are easily available as native data types in any sane language, ... - blokhead, speaking on evolutionary algorithms

    Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.

      4GL => 4th generation languages. I've often heard Perl described as a fourth generation language. Of course, I should've looked up the definition first.

      Often abbreviated 4GL, fourth-generation languages are programming languages closer to human languages than typical high-level programming languages. Most 4GLs are used to access databases. For example, a typical 4GL command is FIND ALL RECORDS WHERE NAME IS "SMITH"

      By this definition, doesn't COBOL qualify as a 4GL?

      -QM

      --

      Quantum Mechanic

        Yes, yes it does. And with the screen handling features some versions have, it still does it better than many of the "4GLs" that came out of the '80s and '90s.

        Whether that speaks more to the deficiencies of the 4GL wave or the prescience of COBOL I'll leave to someone else to decide.

        Actually, according to their definitions, COBOL would be considered a third-generation language (as would be ForTran and BASIC, which were developed around the same time, if memory serves, as well as C/C++ and Java).

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-04-19 23:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found