/fp-java-kotlin-scala

Functional programming Java vs. Kotlin vs Scala

Primary LanguageJava

Functional programming samples (Java vs Scala vs Scala)

Source code and samples from the presentation on functional programming showdown (Java vs Scala vs Kotlin).

Contents of the presentation

  1. What is functional programming?
  2. Functions
  3. Higher-order functions
  4. Partial application
  5. Curring
  6. Composition
  7. Total functions

Word count

Pure functional implementation of word count problem (counting the words in one sentence).