TPL Lect 13-14
TPL Lect 13-14
Functional programming
Functional programming languages are specially designed to handle
symbolic computation and list-processing applications. Functional
programming is based on mathematical functions. Its main focus is
on “what to solve” in contrast to an imperative style where the main
focus is “how to solve”. Some of the popular functional programming
languages include Lisp, Erlang, Haskell, Clojure, etc.
Fact: Alan Turing was a student of Alonzo Church who created the
Turing machine which laid the foundation of the imperative
programming style
Focus is on: “What you are doing” Focus is on “How you are doing”
Flow Control is done using function Flow control is done using loops and
calls & function calls with recursion conditional statements.