U
U
usgleb2011-10-04 23:45:09
Programming
usgleb, 2011-10-04 23:45:09

Relational programming?

Oh, the great minds of Habr, please tell us what kind of beast relational programming is. The neighbor says he is the future. That this is something opposite to algorithmic programming, similar to neural networks.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
W
Weageoo, 2011-10-05
@Weageoo

Programming in relational languages ​​(SQL, relational database language).
A relational language is a language based on the relational data model .
Neural networks are a model, algorithmic programming is a methodology.

S
szKarlen, 2011-10-05
@szKarlen

relational languages ​​are programming languages ​​that operate with data as with sets, applying to them the basic operations of set theory.
a typical example is SQL. however, Prolog can also be included here. I will explain why: if SQL is based on the theory of tuple calculus, which in turn is a direction of relational calculus, and it is based on the theory of first-level predicates, then Prolog is based on a subset of these predicates - Horn clauses.
about the fact that the future of programming lies with them - I would beware of such statements, because still, you won't be able to cover many aspects of algorithmic programming with them. for example, SQL allows you to answer the question "WHAT", but not "HOW".
about neural networks - what are they written on? correctly in algorithmic languages. and yet you should not confuse algorithms and neural networks with algorithmic and relational programming - these are completely different things.

V
Vladimir Golovanov, 2011-10-05
@Colwin

Relational languages ​​tell you what to do, leaving it up to the interpreter to answer the question .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question