47 Degrees joins forces with Xebia read more

Raoul-Gabriel Urma at Lambda World 2016


Pragmatic Functional Refactoring with Java 8

You may be hearing a lot of buzz around functional programming. For example, Java 8 recently introduced new features (lambda expressions and method references) and APIs (Streams, Optional and CompletableFutures) inspired from functional ideas such as first-class functions, composition and immutability. However, what does this mean for my existing codebase? In this talk, we show how you can refactor your traditional object-oriented Java to using FP features and APIs from Java 8 in a beneficial manner. We discuss things like:

  • How to adapt to requirement changes using first-class functions.
  • How you can enhance code reusability using currying.
  • How you can make your code more robust by favoring immutability over mutability.
  • How you can reduce null pointer exceptions with Optional.

Subscribe to our official YouTube channel to be updated when new videos are added.

Ensure the success of your project

47 Degrees can work with you to help manage the risks of technology evolution, develop a team of top-tier engaged developers, improve productivity, lower maintenance cost, increase hardware utilization, and improve product quality; all while using the best technologies.