Groovy Functional Programming - Immutability
In our drive to write Groovy code in functional style, we write pure functions as much as possible. Since mutation is not allowed in pure functions, immutable data become an important foundation.
If you are not familiar with pre functions, this article provides the necessary details.
Immutable Collections
Let us