Refactoring to Java 8 by Trisha Gee
While we’re drawing ever closer to Java 9, and even hearing about features in Java 10, it’s also true that many of us are still working with an older version. Even if your project has technically adopted Java 8, and even if you’re using it when coding new features, it’s likely the majority of your code base is still not making the most of what’s available in Java 8 - features like Lambda Expressions, the Streams API, and new Date/Time. In this presentation, Trisha will: Highlight some of the benefits of using Java 8 - after all, you’ll probably have to persuade The Management that tampering with existing code is worthwhile Demonstrate how to identify areas of code that can be updated to use Java 8 features Show how to automatically refactor your code to make use of features like lambdas and streams. Cover some of the pros and cons of using the new features - including suggestions of when refactoring may NOT be the best idea.