Join Slack
Communities
Powered by
Just released NoCopy, a Kotlin compiler plugin tha...
# announcements
a
Ahmed Mourad
06/30/2020, 7:28 PM
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
➕ 1
🎉 3
j
jw
06/30/2020, 9:58 PM
Great stuff!
❤️ 1
a
Ahmed Mourad
06/30/2020, 10:39 PM
Thank you!!!
w
Wesley Acheson
07/01/2020, 5:49 PM
Whats the problem with copy? I mean if you copy it you haven't changed the original value right?
j
jw
07/01/2020, 6:29 PM
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
Ahmed Mourad
07/02/2020, 2:15 AM
@Wesley Acheson
There are also multiple discussions you can check
here
,
here
and
here
3
Views
Open in Slack
Previous
Next