Functional programming, immutable collections and databases

In the last few years, functional programming has gained a lot of popularity over imperative programming. In the paper, the author gives an overview of functional and logic programming…

ABSTRACT

In the last few years, functional programming has gained a lot of popularity over imperative programming (note: object-oriented programming is also imperative).
For example in 2014, the Java language also received some significant functional capabilities (version Java 8).
Functional programming is not new. The first functional language Lisp was created way back in 1958, one year after Fortran and one year before COBOL.
Functional programming, like logic programming, is very similar to SQL programming in some ways – it is highly declarative.
In the presentation, we will look at functional and logic programming, and discuss how some ideas from functional programming could be applied to database programming.
These ideas are not new, they were advocated by Jim Gray (scientist in the field of databases and transaction systems, winner of the Turing Award in 1998) back in the 80s, but recently they have become “modern” again.