Is it actually good practice that all classes (also in common code) self-freeze if they're known to be immutable?
Let's say I make a multi-platform date/time library where everything is immutable. Should I freeze all class instances in their initializer?
b
basher
06/11/2019, 6:11 PM
we've been doing this in our codebase. working alright so far!