2 ms·
Some of these examples were obviously cherry picked for one side of the other. Comparing against getters/setters, which are written once, generally automatical
by michaelcampbell 8y ago
Some of these examples were obviously cherry picked for one side of the other. Comparing against getters/setters, which are written once, generally automatically by the IDE, and never looked at again and omitting the ubiquitious "if err, _ = f()" rote seems a bit disingenuous.
- farmdawgnation 8y agoThey also neglect to mention that there are active conversations in the Java community around how to effectively implement Data Classes. For example: https://cr.openjdk.java.net/~briangoetz/amber/datum.html https://cr.openjdk.java.net/~briangoetz/amber/datum.html