java stream API and immutability

Functional programming in Java was introduced and people began to use Java Stream, lambda expressions with motivation that it’s a great way of doing SQL in Java or imperative is better than declarative for loop.

The truth is, it solves immutability

Leave a comment

Design a site like this with WordPress.com
Get started