TL;DR: Use immutable objects to prevent unexpected changes caused by aliasing. Problems Unexpected mutations Difficult bug tracking Unpredictable code behavior Reduced code predictability Increased coupling Compromised thread safety Solutions Use...
maximilianocontieri.com3 min read
No responses yet.