[{"data":1,"prerenderedAt":160},["ShallowReactive",2],{"generation-4gl":3,"generation-members-4gl":147,"generation-siblings":148},{"id":4,"title":5,"author":6,"body":7,"description":118,"extension":125,"features":126,"generation":129,"homepage":6,"logo":6,"meta":130,"name":5,"navigation":131,"note":132,"path":133,"references":134,"seo":142,"status":143,"stem":144,"urls":6,"year":145,"__hash__":146},"generations\u002Fgenerations\u002F4gl.md","Fourth-generation language",null,{"type":8,"value":9,"toc":117},"minimark",[10,15,41,45,98,102,105,109],[11,12,14],"h2",{"id":13},"overview","Overview",[16,17,18,19,23,24,35,36,40],"p",{},"The fourth generation is the ",[20,21,22],"strong",{},"non-procedural"," tier: the developer declares\nwhat result is wanted — a query, a report, a screen — and the system supplies the\nprocedure. ",[25,26,30,31],"a",{"href":27,"rel":28},"https:\u002F\u002Farchive.org\u002Fdetails\u002Fapplicationdevel00mart",[29],"nofollow","James Martin's ",[32,33,34],"em",{},"Application Development Without\nProgrammers"," (1981)\ncodified the term for specification languages that are not written in the\nprocedural style of the ",[25,37,39],{"href":38},"\u002Fgenerations\u002F3gl","third generation",".",[11,42,44],{"id":43},"defining-characteristics","Defining characteristics",[46,47,48,69,80,86,92],"ul",{},[49,50,51,54,55,60,61,64,65,68],"li",{},[20,52,53],{},"Non-procedural, not merely high-level."," ",[25,56,59],{"href":57,"rel":58},"https:\u002F\u002Fwww.rogerclarke.com\u002FSOS\u002FSwareGenns.html",[29],"Clarke's careful\nreading"," is that the defining\nmove is ",[32,62,63],{},"delegation",": the 4GL operates with ",[20,66,67],{},"set-at-a-time"," operations over\nmany records, where a 3GL would write a loop. SQL is the canonical example —\none statement selects over a whole relation.",[49,70,71,74,75,79],{},[20,72,73],{},"Domain-specific focus."," The tier grew up around databases, report\ngeneration, forms, and statistical manipulation, and the\n",[25,76,78],{"href":77},"\u002Fparadigms\u002Fdomain-specific","domain-specific"," narrowing is where its leverage\ncomes from: the notation only has to be good at one class of problem.",[49,81,82,85],{},[20,83,84],{},"Program generation."," Many members generate third-generation code, or drive\na runtime that interprets tabular declarations, rather than being compiled\ndirectly.",[49,87,88,91],{},[20,89,90],{},"End-user development."," The stated ambition was that domain experts could\nbuild their own applications, which is why the tier is tied to prototyping and\nto low-code descendants.",[49,93,94,97],{},[20,95,96],{},"A boundary that blurred."," Once general-purpose languages absorbed\ndeclarative facilities and libraries, the line between 3GL and 4GL became hard\nto draw, and Clarke notes that both \"procedural\" and \"non-procedural\" sit on a\ncontinuum rather than naming two disjoint classes.",[11,99,101],{"id":100},"status","Status",[16,103,104],{},"Historical as a marketing category, live as a set of ideas. The term was applied\nbroadly and loosely enough that it never acquired a crisp test, and the\nabstraction claim it rests on is the one critics attacked most; the languages it\npointed at — SQL, report generators, spreadsheets — remain in daily use.",[11,106,108],{"id":107},"contested-by-design","Contested by design",[16,110,111,112,116],{},"This is the tier where the ladder stops being descriptive. Different sources\ndisagree on membership because they disagree on the criterion: productivity gain,\nend-user authorship, relational data modelling, and program generation were all\nproposed as the defining property, and Clarke's 1991 survey lists them side by\nside before concluding that delegation is the common thread. Treat \"is X a 4GL?\"\nas a question about which criterion is in play, not as a fact about X — and note\nthat the ",[25,113,115],{"href":114},"\u002Fgenerations\u002F5gl","fifth generation"," was coined largely to get above\nthis ambiguity.",{"title":118,"searchDepth":119,"depth":119,"links":120},"",2,[121,122,123,124],{"id":13,"depth":119,"text":14},{"id":43,"depth":119,"text":44},{"id":100,"depth":119,"text":101},{"id":107,"depth":119,"text":108},"md",[22,67,78,127,128],"program-generation","end-user-development","4gl",{},true,"A notation that states the problem rather than the procedure for solving it, usually over a domain such as reports, queries, or forms. The tier is defined by delegating the how to the system — and the term was substantially a marketing label.","\u002Fgenerations\u002F4gl",[135,137,139],{"url":57,"title":136},"A Contingency Approach to the Application Software Generations — Roger Clarke (1991), §4–5",{"url":27,"title":138},"Application Development Without Programmers — James Martin (Prentice-Hall, 1981)",{"url":140,"title":141},"https:\u002F\u002Fweb.archive.org\u002Fweb\u002F20180424230256\u002Fhttp:\u002F\u002Farchive.oreilly.com\u002Fpub\u002Fa\u002Foreilly\u002Fnews\u002Fvhll_1299.html","Are VHLLs Really High-Level? — Greg Wilson (O'Reilly, 1999)",{"title":5,"description":118},"historical","generations\u002F4gl",1981,"_zhEwonsU6xRZGZQ2dU2B5E7HruS4TJ3Oowur1Tw8vk",[],[149,152,155,157,158],{"name":150,"path":151},"First-generation language","\u002Fgenerations\u002F1gl",{"name":153,"path":154},"Second-generation language","\u002Fgenerations\u002F2gl",{"name":156,"path":38},"Third-generation language",{"name":5,"path":133},{"name":159,"path":114},"Fifth-generation language",1795219071748]