From Monotonic Ltd
Richard is an empirical technologist and solver of deep-dive technical problems and works independently as a Software Engineer and Trainer. Recently he has written a book on Java 8 Lambdas for O’Reilly and helps developers learn via http://iteratrlearning.com and http://www.pluralsight.com/author/richard-warburton. He’s worked as a developer in diverse areas including Statistical Analytics, Static Analysis, Compilers and Network Protocols. He is a leader in the London Java Community. Richard is also a well known conference speaker, having talked at Devoxx, JavaOne, QCon SF, JFokus, Devoxx UK, Geecon, Oredev, JAX London, JEEConf, Codemotion and JProfessionals. He obtained a PhD in Computer Science from The University of Warwick.
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 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 favouring immutability over mutability.
- How you can reduce null pointer exceptions with Optional.