CHAPTER 7

image

Lambdas and Legacy Code

At this point in this book, you have seen all the wonderful things that lambdas can do for your codebase. But what about the huge pile of legacy code that is out there? There is a lot of code to be merged into this new reality, and a lot of Java developers are commited to projects that have to drag forward those balls of mud. How can lambdas make their life easier?

Furthermore, the new Java 8 APIs are very impressive, but there are many APIs in the Java SDK that have not yet been updated for the brave new lambda world. How do you take advantage of lambdas with APIs that are not at all intended to support it? ...

Get Java Closures and Lambda now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.