<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Properites vs. Fields, this time in databinding</title><link>http://blogs.msdn.com/brada/archive/2004/08/29/222474.aspx</link><description>Nikhil fires up the age old debate again… Data-binding to public fields... yes or no?</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Properites vs. Fields, this time in databinding</title><link>http://blogs.msdn.com/brada/archive/2004/08/29/222474.aspx#222484</link><pubDate>Mon, 30 Aug 2004 03:41:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:222484</guid><dc:creator>Matthew W. Jackson</dc:creator><description>Public properties should almost always be used when exposing public instance data.  The only place I'd use public fields are for static constant-like values (like Decimal.Zero), or for a class that's not exposed publicly.&lt;br&gt;&lt;br&gt;That being said, there is often a need for a non-public classes to be used in data-binding.  If it's not exposed outside an assembly, there's no big versioning issue with using fields to begin with and switching to properties later.  While I suppose that allowing public fields to be used in data-binding may lead to many people exposing more public fields in public classes, it seems rather arbitrary that data binding only works with properties when properties look like fields everywhere else (except IL, of course).</description></item><item><title>Data-Binding to Web Service Proxies</title><link>http://blogs.msdn.com/brada/archive/2004/08/29/222474.aspx#222508</link><pubDate>Mon, 30 Aug 2004 07:24:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:222508</guid><dc:creator>Brian Ritchie's Blog</dc:creator><description /></item><item><title>Data-Binding to Web Service Proxies</title><link>http://blogs.msdn.com/brada/archive/2004/08/29/222474.aspx#222511</link><pubDate>Mon, 30 Aug 2004 07:28:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:222511</guid><dc:creator>Brian Ritchie's Blog</dc:creator><description /></item><item><title>re: Properites vs. Fields, this time in databinding</title><link>http://blogs.msdn.com/brada/archive/2004/08/29/222474.aspx#223132</link><pubDate>Tue, 31 Aug 2004 05:02:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:223132</guid><dc:creator>Chui Tey</dc:creator><description>We are pitting one developer's preference against another. &lt;br&gt;&lt;br&gt;Nikhil clearly states his personal preference that fields should not be public. C#'s designers did not take that view, and instead let the developers decide for themselves. &lt;br&gt;&lt;br&gt;Nikhil should allow binding, but introduce an FxCop rule to warn about this practice.&lt;br&gt;&lt;br&gt;&lt;br&gt;</description></item><item><title>re: Properites vs. Fields, this time in databinding</title><link>http://blogs.msdn.com/brada/archive/2004/08/29/222474.aspx#223533</link><pubDate>Tue, 31 Aug 2004 20:33:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:223533</guid><dc:creator>Steven Padfield</dc:creator><description>Although I believe that fields should never be public (and thus not be bindable), I am also a Libertarian, which means that all developers should have the freedom to choose the &amp;quot;correct&amp;quot; implementation, along with the responsibility of dealing with the consequences of their free choice.&lt;br&gt;&lt;br&gt;Plus, if we continue putting intelligent rules into the language and tools, we will be reducing the requirements on developers and thus driving down our salaries.  Keep the tools a step behind, and we can continue to foster a very lucrative developer elitism.  I mean, just look at the FORTRAN guys.</description></item><item><title>Data-Binding to Web Service Proxies</title><link>http://blogs.msdn.com/brada/archive/2004/08/29/222474.aspx#224078</link><pubDate>Wed, 01 Sep 2004 20:15:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:224078</guid><dc:creator>Christopher Steen</dc:creator><description>Data-Binding to Web Service Proxies</description></item><item><title> Brad Abrams Properites vs Fields this time in databinding | Cellulite Creams</title><link>http://blogs.msdn.com/brada/archive/2004/08/29/222474.aspx#9712136</link><pubDate>Tue, 09 Jun 2009 05:59:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9712136</guid><dc:creator> Brad Abrams Properites vs Fields this time in databinding | Cellulite Creams</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://cellulitecreamsite.info/story.php?id=8196"&gt;http://cellulitecreamsite.info/story.php?id=8196&lt;/a&gt;&lt;/p&gt;
</description></item><item><title> Brad Abrams Properites vs Fields this time in databinding | fire pit</title><link>http://blogs.msdn.com/brada/archive/2004/08/29/222474.aspx#9780048</link><pubDate>Fri, 19 Jun 2009 08:59:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9780048</guid><dc:creator> Brad Abrams Properites vs Fields this time in databinding | fire pit</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://firepitidea.info/story.php?id=554"&gt;http://firepitidea.info/story.php?id=554&lt;/a&gt;&lt;/p&gt;
</description></item></channel></rss>