Not sure I follow. The constants like Price or Currency would be available across threads.
Also, if you’re writing a custom data class, you’d need to write code to support immutability which this article’s approach handles
Also, if you’re writing a custom data class, you’d need to write code to support immutability which this article’s approach handles
No comments yet.