Functional Programming

Functional programming languages, whether in Java, F#, or Clojure, share several common features. Functional programming is based off lambda calculus by Alonzo Church. The rules of lambda calculus have been applied in making languages more functional. The three lambda calculus rules that influence functional programming are:

  1. Functions are like mathematical functions. One-and-only-one return exists for each function argument or arguments.
  2. Variables are immutable. They don’t vary.
  3. Functions and variables are inter-changable.

This post will go over some of the common features that result from following these rules.

Continue reading “Functional Programming”