Code - Functional programming (FP) - Collection Operations

1 - About

Functional programming (FP) defines standard operations on collections.

It is a declarative paradigm that treats computation as the evaluation of mathematical functions.

Most of the operations you perform on collections can be accomplished with five simple functions:

These five functions hold a key to simplifying asynchronous programming and avoid race conditions, propagate and handle asynchronous errors, and sequence events and requests.

Multiple invocation of a function at different point of time will always return same output as long as input remains same. It makes easy to understand and predict behavior of program.

With functional programming (FP), the code should be organized around:

The application of several function programming operations creates a composite type called a Algebraic data type

3 - Imperative vs Functional

4 - Others function

  • Functional Programming - Sum
  • Functional Programming - flatMap

5 - Java

JVM based Functional Programming Languages

  • Scala
  • Clojure
  • Groovy

6 - Library

  • ReactiveX - ReactiveX: A library for composing asynchronous and event-based programs using observable sequences for the Java VM, Javascript
  • https://ramdajs.com/ - Javascript

7 - Documentation / Reference


Data Science
Data Analysis
Statistics
Data Science
Linear Algebra Mathematics
Trigonometry

Powered by ComboStrap