<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Programmers Debate: _underscore private class properties?</title>
	<atom:link href="http://www.technologytranslated.com/2008/04/02/programmers-debate-underscore-private-class-properties/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.technologytranslated.com/2008/04/02/programmers-debate-underscore-private-class-properties/</link>
	<description>ArcStone employees / contractors practicing Internet alchemy - translating tech into vision and vision into tech....</description>
	<lastBuildDate>Fri, 03 Feb 2012 16:51:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: ET</title>
		<link>http://www.technologytranslated.com/2008/04/02/programmers-debate-underscore-private-class-properties/comment-page-1/#comment-3040</link>
		<dc:creator>ET</dc:creator>
		<pubDate>Sat, 05 Apr 2008 02:38:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.technologytranslated.com/2008/04/02/programmers-debate-underscore-private-class-properties/#comment-3040</guid>
		<description>Personally, I&#039;m not for it.  While it does add something that will immediately set the variable apart, it&#039;s not really doing anything else for you except (like you said) making a bit more work of typing your variable names.

I&#039;m a proponent of making pretty much everything private and manipulating your instance variables via methods -- not necessarily get/set, though those are useful, but through higher-level methods.  A class tends to represent a concept, and its methods represent relevant actions, not just operations on its variables.

Public member variables are actually a bit of an oddity, though a common one: Your instance retains no control over a public variable.</description>
		<content:encoded><![CDATA[<p>Personally, I&#8217;m not for it.  While it does add something that will immediately set the variable apart, it&#8217;s not really doing anything else for you except (like you said) making a bit more work of typing your variable names.</p>
<p>I&#8217;m a proponent of making pretty much everything private and manipulating your instance variables via methods &#8212; not necessarily get/set, though those are useful, but through higher-level methods.  A class tends to represent a concept, and its methods represent relevant actions, not just operations on its variables.</p>
<p>Public member variables are actually a bit of an oddity, though a common one: Your instance retains no control over a public variable.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

