We have learned about Lambdas and Functional Interfaces before. Now that we have the concepts clear, let's see how we can modularize our code using them.
8/15/20About 4 min
We have learned about Lambdas and Functional Interfaces before. Now that we have the concepts clear, let's see how we can modularize our code using them.
After learning about streams and lambdas in Java 8, my style of writing code underwent a fundamental change. It reduced bugs in my code, got me thinking more in terms of functional programming, and best of all — it reduced the number of lines I had to write for any given functionality while making the code even more readable!
Yes, Java 8 has become quite old, but it's still the most popular Java version in use today. In this post we'll go through some Java 8 features and try to understand them. I find many of them really useful and thought it would be awesome to share them.