<?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: Why Java Doesn&#8217;t Need Properties (It already has them)</title>
	<atom:link href="http://cafe.elharo.com/blogroll/why-java-doesnt-need-properties-it-already-has-them/feed/" rel="self" type="application/rss+xml" />
	<link>http://cafe.elharo.com/blogroll/why-java-doesnt-need-properties-it-already-has-them/</link>
	<description>Longer than a blog; shorter than a book</description>
	<lastBuildDate>Wed, 08 Feb 2012 21:45:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>By: gusgorman</title>
		<link>http://cafe.elharo.com/blogroll/why-java-doesnt-need-properties-it-already-has-them/comment-page-1/#comment-783824</link>
		<dc:creator>gusgorman</dc:creator>
		<pubDate>Thu, 01 Sep 2011 12:18:19 +0000</pubDate>
		<guid isPermaLink="false">http://cafe.elharo.com/java/why-java-doesnt-need-properties-it-already-has-them/#comment-783824</guid>
		<description>@Jeff Robinson

Thats normally what I do. 
Sometimes you would really like to pass in a parameter though. Perhaps a boolean was a bad example (an enum value might be a better example)</description>
		<content:encoded><![CDATA[<p>@Jeff Robinson</p>
<p>Thats normally what I do.<br />
Sometimes you would really like to pass in a parameter though. Perhaps a boolean was a bad example (an enum value might be a better example)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Robinson</title>
		<link>http://cafe.elharo.com/blogroll/why-java-doesnt-need-properties-it-already-has-them/comment-page-1/#comment-733231</link>
		<dc:creator>Jeff Robinson</dc:creator>
		<pubDate>Wed, 13 Jul 2011 14:44:33 +0000</pubDate>
		<guid isPermaLink="false">http://cafe.elharo.com/java/why-java-doesnt-need-properties-it-already-has-them/#comment-733231</guid>
		<description>@gusgorman, why wouldn&#039;t you add a second property in C# called FilteredFoos?  .FilteredFoos could even do a subquery on .Foos.

IList foos = someObject.Foos;
IList filteredFoos = someObject.FilteredFoos;

It looks cleaner to me.  When reading &quot;someObject.getFoos(false)&quot; I have no idea what are the implications of passing either true or false to getFoos.  It is clear what I am getting when I call .FilteredFoos.</description>
		<content:encoded><![CDATA[<p>@gusgorman, why wouldn&#8217;t you add a second property in C# called FilteredFoos?  .FilteredFoos could even do a subquery on .Foos.</p>
<p>IList foos = someObject.Foos;<br />
IList filteredFoos = someObject.FilteredFoos;</p>
<p>It looks cleaner to me.  When reading &#8220;someObject.getFoos(false)&#8221; I have no idea what are the implications of passing either true or false to getFoos.  It is clear what I am getting when I call .FilteredFoos.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gusgorman</title>
		<link>http://cafe.elharo.com/blogroll/why-java-doesnt-need-properties-it-already-has-them/comment-page-1/#comment-607691</link>
		<dc:creator>gusgorman</dc:creator>
		<pubDate>Tue, 01 Mar 2011 10:18:48 +0000</pubDate>
		<guid isPermaLink="false">http://cafe.elharo.com/java/why-java-doesnt-need-properties-it-already-has-them/#comment-607691</guid>
		<description>Ugh - code came out looking bad:

should be 

IList foos= someObject.Foos;

and 

IList filteredFoos = someObject.getFoos(false);</description>
		<content:encoded><![CDATA[<p>Ugh &#8211; code came out looking bad:</p>
<p>should be </p>
<p>IList foos= someObject.Foos;</p>
<p>and </p>
<p>IList filteredFoos = someObject.getFoos(false);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gusgorman</title>
		<link>http://cafe.elharo.com/blogroll/why-java-doesnt-need-properties-it-already-has-them/comment-page-1/#comment-607689</link>
		<dc:creator>gusgorman</dc:creator>
		<pubDate>Tue, 01 Mar 2011 10:16:51 +0000</pubDate>
		<guid isPermaLink="false">http://cafe.elharo.com/java/why-java-doesnt-need-properties-it-already-has-them/#comment-607689</guid>
		<description>After 10 years of java programming I&#039;ve spent the last 2 years doing alot of C#, and I have to say I find properties in .NET somewhat cumbersome. Lets say you&#039;ve got a property:

IList&amp;#60Foo&amp;#62 foos= someObject.Foos;

and you want to override that method to filter the foos. In java you would just add a method:

IList&amp;#60Foo&amp;#62 filteredFoos = someObject.getFoos(false);

but in C# it gets messy. Do you have one as a property, and one as a method? Yuck.


Properties are just methods with different syntax. There really is no need. Yes, it is very nice and convenient declaring a property in C#, but its also very nice and convenient generating a getter or setter in Eclipse.</description>
		<content:encoded><![CDATA[<p>After 10 years of java programming I&#8217;ve spent the last 2 years doing alot of C#, and I have to say I find properties in .NET somewhat cumbersome. Lets say you&#8217;ve got a property:</p>
<p>IList&amp;#60Foo&amp;#62 foos= someObject.Foos;</p>
<p>and you want to override that method to filter the foos. In java you would just add a method:</p>
<p>IList&amp;#60Foo&amp;#62 filteredFoos = someObject.getFoos(false);</p>
<p>but in C# it gets messy. Do you have one as a property, and one as a method? Yuck.</p>
<p>Properties are just methods with different syntax. There really is no need. Yes, it is very nice and convenient declaring a property in C#, but its also very nice and convenient generating a getter or setter in Eclipse.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zerq</title>
		<link>http://cafe.elharo.com/blogroll/why-java-doesnt-need-properties-it-already-has-them/comment-page-1/#comment-496348</link>
		<dc:creator>Zerq</dc:creator>
		<pubDate>Sat, 17 Jul 2010 20:14:14 +0000</pubDate>
		<guid isPermaLink="false">http://cafe.elharo.com/java/why-java-doesnt-need-properties-it-already-has-them/#comment-496348</guid>
		<description>If you refure to have a past then you have no future!
none of these argument make much sense.

If your going to keep insisting on backwards compatabilaty for ever then there can never be any progress..
As for invalidating the books of the past  well thats laugthable you cant keep reality constant.. books become out of date all the time..
things change... ITS NOT A BAD THING!

Standards are nice and good but there is the trick... you can add numbers at the end.....
Backwardscompatabilaty nazis are retards... literaly.. they are retarding progress!

This is why Java is going to get it ass handed to it...
Microsoft stole all that was wonderfull about java and made it better... I challenge the java world to do the same...

The clearer and more easy to read the syntax the easier and the more fun programming becomes if out languages dont evlove how can our programming evolve...

I mena where would we be today if we limited our comuinication to grunts and hitting each other on the head with clubs just because introducing more advanced features like words would confuse some people....

at least some people in the java world arent insane.... just look at Scala...</description>
		<content:encoded><![CDATA[<p>If you refure to have a past then you have no future!<br />
none of these argument make much sense.</p>
<p>If your going to keep insisting on backwards compatabilaty for ever then there can never be any progress..<br />
As for invalidating the books of the past  well thats laugthable you cant keep reality constant.. books become out of date all the time..<br />
things change&#8230; ITS NOT A BAD THING!</p>
<p>Standards are nice and good but there is the trick&#8230; you can add numbers at the end&#8230;..<br />
Backwardscompatabilaty nazis are retards&#8230; literaly.. they are retarding progress!</p>
<p>This is why Java is going to get it ass handed to it&#8230;<br />
Microsoft stole all that was wonderfull about java and made it better&#8230; I challenge the java world to do the same&#8230;</p>
<p>The clearer and more easy to read the syntax the easier and the more fun programming becomes if out languages dont evlove how can our programming evolve&#8230;</p>
<p>I mena where would we be today if we limited our comuinication to grunts and hitting each other on the head with clubs just because introducing more advanced features like words would confuse some people&#8230;.</p>
<p>at least some people in the java world arent insane&#8230;. just look at Scala&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sclytrack</title>
		<link>http://cafe.elharo.com/blogroll/why-java-doesnt-need-properties-it-already-has-them/comment-page-1/#comment-490185</link>
		<dc:creator>sclytrack</dc:creator>
		<pubDate>Sun, 20 Jun 2010 11:30:07 +0000</pubDate>
		<guid isPermaLink="false">http://cafe.elharo.com/java/why-java-doesnt-need-properties-it-already-has-them/#comment-490185</guid>
		<description>Java should add properties or it will decline in popularity. Just knowing that it can be done simpler in another language is just a nerve wrecking. Java should get rid of its verbosity and allow less typing. The most common design patterns should be incorporated in the language. Design Patterns are invented to compensate for language deficiencies and Java has many.

When some sort of property syntax is added, entire libraries will need to be changed to included them. Is this a problem? Look at the database API. There was no need to rewrite them, yet when java annotations were added it got rewritten anyways. Java Persistence API has annotations everywhere. Hence rewriting all the libraries with a newer property syntax would be no problem at all.

Oracle, just include properties!!!!</description>
		<content:encoded><![CDATA[<p>Java should add properties or it will decline in popularity. Just knowing that it can be done simpler in another language is just a nerve wrecking. Java should get rid of its verbosity and allow less typing. The most common design patterns should be incorporated in the language. Design Patterns are invented to compensate for language deficiencies and Java has many.</p>
<p>When some sort of property syntax is added, entire libraries will need to be changed to included them. Is this a problem? Look at the database API. There was no need to rewrite them, yet when java annotations were added it got rewritten anyways. Java Persistence API has annotations everywhere. Hence rewriting all the libraries with a newer property syntax would be no problem at all.</p>
<p>Oracle, just include properties!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elliotte Rusty Harold</title>
		<link>http://cafe.elharo.com/blogroll/why-java-doesnt-need-properties-it-already-has-them/comment-page-1/#comment-489384</link>
		<dc:creator>Elliotte Rusty Harold</dc:creator>
		<pubDate>Thu, 17 Jun 2010 11:20:21 +0000</pubDate>
		<guid isPermaLink="false">http://cafe.elharo.com/java/why-java-doesnt-need-properties-it-already-has-them/#comment-489384</guid>
		<description>Phuong, Those who forget history are condemned to repeat it. Do you recall when the assert keyword was added to Java? and promptly broke every single program on the planet that used JUnit?</description>
		<content:encoded><![CDATA[<p>Phuong, Those who forget history are condemned to repeat it. Do you recall when the assert keyword was added to Java? and promptly broke every single program on the planet that used JUnit?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phuong Nguyen</title>
		<link>http://cafe.elharo.com/blogroll/why-java-doesnt-need-properties-it-already-has-them/comment-page-1/#comment-489311</link>
		<dc:creator>Phuong Nguyen</dc:creator>
		<pubDate>Thu, 17 Jun 2010 02:37:22 +0000</pubDate>
		<guid isPermaLink="false">http://cafe.elharo.com/java/why-java-doesnt-need-properties-it-already-has-them/#comment-489311</guid>
		<description>Are you using your brain seriously? 
&quot;At least some of the proposals add keywords to the language, thus breaking existing programs.&quot; How on earth your logical process produce such conclusion? I can imagine the withdrawals of keywords breaking existing programs, but add?</description>
		<content:encoded><![CDATA[<p>Are you using your brain seriously?<br />
&#8220;At least some of the proposals add keywords to the language, thus breaking existing programs.&#8221; How on earth your logical process produce such conclusion? I can imagine the withdrawals of keywords breaking existing programs, but add?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Graham Wheeler</title>
		<link>http://cafe.elharo.com/blogroll/why-java-doesnt-need-properties-it-already-has-them/comment-page-1/#comment-313512</link>
		<dc:creator>Graham Wheeler</dc:creator>
		<pubDate>Thu, 13 Nov 2008 18:30:50 +0000</pubDate>
		<guid isPermaLink="false">http://cafe.elharo.com/java/why-java-doesnt-need-properties-it-already-has-them/#comment-313512</guid>
		<description>I agree with Non-nude Cheerleader&#039;s post above. It&#039;s a damn shame in this day and age that Java still doesn&#039;t have non-nude cheerleader support, especially when you consider the boys in Redmond baked that capability into C# from the start! (although you have to enable it with a CLR compiler flag)</description>
		<content:encoded><![CDATA[<p>I agree with Non-nude Cheerleader&#8217;s post above. It&#8217;s a damn shame in this day and age that Java still doesn&#8217;t have non-nude cheerleader support, especially when you consider the boys in Redmond baked that capability into C# from the start! (although you have to enable it with a CLR compiler flag)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Junior aus Ghana</title>
		<link>http://cafe.elharo.com/blogroll/why-java-doesnt-need-properties-it-already-has-them/comment-page-1/#comment-307200</link>
		<dc:creator>Junior aus Ghana</dc:creator>
		<pubDate>Fri, 31 Oct 2008 12:39:50 +0000</pubDate>
		<guid isPermaLink="false">http://cafe.elharo.com/java/why-java-doesnt-need-properties-it-already-has-them/#comment-307200</guid>
		<description>I think properties will make Java simpler. There were properties in Delphi so I was disappointed not to see Java having properties. C# has properties and I don&#039;t think I had to spend more than 2 minutes understanding the syntax. How difficult could adding Properties to Java be? C# has properties and many newbies understand it more easily than try to explain the Javabean naming convention where get and set has to be all lowercase, whole method camelCase. setXxx where the private field is xxx what if you mistakenly typed setXxz or SetXxx. Compiles perfectly but your code doesn&#039;t work as expected.

I want methods to perform actions only and Properties to give me properties of the object.</description>
		<content:encoded><![CDATA[<p>I think properties will make Java simpler. There were properties in Delphi so I was disappointed not to see Java having properties. C# has properties and I don&#8217;t think I had to spend more than 2 minutes understanding the syntax. How difficult could adding Properties to Java be? C# has properties and many newbies understand it more easily than try to explain the Javabean naming convention where get and set has to be all lowercase, whole method camelCase. setXxx where the private field is xxx what if you mistakenly typed setXxz or SetXxx. Compiles perfectly but your code doesn&#8217;t work as expected.</p>
<p>I want methods to perform actions only and Properties to give me properties of the object.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

