Re:There Are Three Programming Paradigms (2013)
by overgard on Thursday February 09, 2017 @11:30PM
(#13613229)
Wouldn't SQL count as goal based, by their logic?
[ Parent
| on HN ]
Re:There Are Three Programming Paradigms (2013)
by AdieuToLogic on Friday February 10, 2017 @12:47AM
(#13613506)
In the categorization presented in the OP, SQL would be categorized as "constraint programming" as described here[0]. Essentially, SQL conforms to a subset of predicate calculus[1] whose operations are quantified by relational algebra[2].
HTH
0 - http://lambda-the-ultimate.org/node/4370
Re:There Are Three Programming Paradigms (2013)
by fallingfrog on Friday February 10, 2017 @10:04AM
(#13615819)
As originally stated, maybe.. but for years SQL has been slowly degenerating into just another imperative language. The ideal is that you can write something like "select * from A,B where A.something = B.something". But for whatever reason, SQL interpreters have consistently and dismally failed at producing an efficient execution plan without the hints offered by nested select statements, explicit joins, and now stored procedures. Imperative is still king.