<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Sep 10, 2010, at 3:04 PM, Douglas Gregor wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal Inconsolata; min-height: 14px; "><br class="Apple-interchange-newline">I don't see any reason to have tons of ivars that have trivial getters and setters, it's just a lot of redundant code.</div></div></blockquote><br></div><div>Please don't. Having explicit getters makes it easier for us to tweak the internal representation (to save space, or keep track of more information, or whatever). In general, we shouldn't have setters [*], and serialization should just poke at the fields directly.</div><div><br></div><div><span class="Apple-tab-span" style="white-space: pre; ">    </span>- Doug</div><br><div>[*] Most of these are my fault, since we're taking blame ;)</div></span></blockquote></div><br><div>I'm fine with not "changing everything in the world" :)</div><div><br></div><div>-Chris</div></body></html>