Immutable Data Structure

What is immutability?

1. Being Thread Safe:

2. Defensive Copy:

3. Valid state:

4. Using DTO:

My take:

if you like the content, you know what to do 🎉✔