Just released NoCopy, a Kotlin compiler plugin tha...
# announcements
a
Just released NoCopy, a Kotlin compiler plugin that enables using data classes as value-based classes by moderating usage of their
copy
method. https://github.com/AhmedMourad0/no-copy
🎉 3
1
j
Great stuff!
❤️ 1
a
Thank you!!!
w
Whats the problem with copy? I mean if you copy it you haven't changed the original value right?
j
For one, it's a guaranteed source of binary incompatibility as you add new properties to the type when all you wanted was value semantics.
💯 1
✔️ 1
a
@Wesley Acheson There are also multiple discussions you can check here, here and here