Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Boost your craftsmanship with Java 8

João
June 06, 2016

Boost your craftsmanship with Java 8

A short introduction to, and practical experiment of, the new features available to the Java craftsman.

Java 8 is mostly about new functional programming paradigms.

Lambdas, method references and the stream API are powerful and yet sometimes hard to understand concepts. These slides are mainly about describing those features, in a way, that is easy to understand, through, analogies and thought experiments discussions.

João

June 06, 2016
Tweet

Other Decks in Technology

Transcript

  1. JAVA 8 a short introduction and practical experiment software analyst,

    2e systems @joaonunesk boost your craftsmanship
  2. • a static method • an instance method of a

    object • a constructor Reference….
  3. If a method expects a functional interface… …and if we

    have a method that looks like the abstract representation of that functional interface…
  4. vs

  5. filter() map() stream() stream or pipeline input collect() stream or

    pipeline output filter() mapToInt() post stream or pipeline output getAsDouble() average() sum() anyMatch() filter()