Is it actually good practice that all classes (als...
# kotlin-native
m
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
we've been doing this in our codebase. working alright so far!
👍 1