Pragmatic Functional Refactoring with Java 8 by Raoul-Gabriel Urmaby Raoul-Gabriel Urma 36:55 4565 views 100% Published 5 years ago
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.
CEO & Co-founder of Cambridge Coding Academy, PhD Computer Science, Co-author of Java 8 in Action
Raoul-Gabriel Urma is CEO and Co-Founder of Cambridge Coding Academy. He is also author of the bestselling programming book “Java 8 in Action” which sold over 15,000 copies globally. Raoul completed a PhD in Computer Science at the University of Cambridge. In addition, he holds a MEng in Computer Science from Imperial College London and graduated with first class honours having won several prizes for technical innovation. Raoul has delivered over 60 technical talks at international conferences. He has worked for Google, eBay, Oracle, and Goldman Sachs. He is also a Fellow of the Royal Society of Arts.
About Lambda World:
The 2016 Lambda World brought together Functional Programming enthusiasts from around the world for two days of presentations, hacking, networking, and a healthy dose of partying in Cadiz, Spain. Hosted by 47 Degrees, the event also featured a Typelevel Community Conference and a Scala Center Hackathon.
Join in on the conversation at http://www.twitter.com/lambda_world and http://www.twitter.com/47deg using #LambdaWorld.
Stay tuned to http://www.lambda.world and http://www.47deg.com for more on the conference and announcements for the 2017 event.