Pragmatic Functional Refactoring with Java 8

preview_player
Показать описание
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 will discuss: - 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 favouring immutability over mutability - How you can design better APIs and reduce unintended null pointer exceptions using an optional data type

Authors:
Richard Warburton
Richard Warburton is a software developer who loves solving complex problems, but actively challenges how much of software development is dealing with day-to-day trivialities. Having obtained a PhD in the area of compiler optimizations and static analysis, he has been applying his abilities in industry. Initially on bytecode analysis software, and more recently on Java performance tuning tools. He actively involves himself in the London Java Community, and its Java Community Process Committee. He has been helping with the push to improve and complete the JSR 310 API and the expand community engagement with JSR 335.

Raoul Urma
Raoul-Gabriel Urma is a PhD candidate in Computer Science at the University of Cambridge. His research centers on programming languages and software engineering. He is an author of the upcoming book Java 8 in Action: Lambdas, Streams, and functional-style programming published by Manning.

In addition, Raoul has written over 10 peer-reviewed articles and given over 20 technical talks at international conferences. He has worked for large companies such as Google, eBay, Oracle, and Goldman Sachs, as well as for several startup projects.
Рекомендации по теме