the other TIL is it doesn't seem the "record" keyword *guarantees* immutability
mutation with reckless abandon
it can be made *easier* but immutability is definitely not guaranteed. no warnings etc with a mutable record
also fun you can put access modifiers on init-only setters tho i'm not sure why you'd want to
access modifiers are enforced at compile time with lambda expression trees, too. but you can still build it manually and it works
You can follow @jbogard.
Tip: mention @twtextapp on a Twitter thread with the keyword “unroll” to get a link to it.

Latest Threads Unrolled: