<?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>Mon, 15 Mar 2010 07:06:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<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>
	<item>
		<title>By: Chad Grant</title>
		<link>http://cafe.elharo.com/blogroll/why-java-doesnt-need-properties-it-already-has-them/comment-page-1/#comment-194352</link>
		<dc:creator>Chad Grant</dc:creator>
		<pubDate>Fri, 22 Feb 2008 04:13:07 +0000</pubDate>
		<guid isPermaLink="false">http://cafe.elharo.com/java/why-java-doesnt-need-properties-it-already-has-them/#comment-194352</guid>
		<description>Properties? What are those?

hahaha. Properties are basics of OO design. It&#039;s laughable that they were not in Java 1.0

Java needs to get with the times. Objects have properties, Simple as that.</description>
		<content:encoded><![CDATA[<p>Properties? What are those?</p>
<p>hahaha. Properties are basics of OO design. It&#8217;s laughable that they were not in Java 1.0</p>
<p>Java needs to get with the times. Objects have properties, Simple as that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: non nude cheerleader</title>
		<link>http://cafe.elharo.com/blogroll/why-java-doesnt-need-properties-it-already-has-them/comment-page-1/#comment-81934</link>
		<dc:creator>non nude cheerleader</dc:creator>
		<pubDate>Thu, 26 Apr 2007 13:49:21 +0000</pubDate>
		<guid isPermaLink="false">http://cafe.elharo.com/java/why-java-doesnt-need-properties-it-already-has-them/#comment-81934</guid>
		<description>&lt;strong&gt;non nude cheerleader&lt;/strong&gt;

Features of non nude cheerleader.</description>
		<content:encoded><![CDATA[<p><strong>non nude cheerleader</strong></p>
<p>Features of non nude cheerleader.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frits Jalvingh</title>
		<link>http://cafe.elharo.com/blogroll/why-java-doesnt-need-properties-it-already-has-them/comment-page-1/#comment-55679</link>
		<dc:creator>Frits Jalvingh</dc:creator>
		<pubDate>Sun, 11 Feb 2007 22:39:33 +0000</pubDate>
		<guid isPermaLink="false">http://cafe.elharo.com/java/why-java-doesnt-need-properties-it-already-has-them/#comment-55679</guid>
		<description>And another thing: having properties work with the exact syntax as field access is a great boon to OO design. It would mean that &quot;blunders&quot; in design where an earlier public field was exposed (java.awt.Point anyone?) could easily be fixed by replacing the public field with a public property which *can* have setter/getter methods controlling values and hiding real representation of the data inside the object.</description>
		<content:encoded><![CDATA[<p>And another thing: having properties work with the exact syntax as field access is a great boon to OO design. It would mean that &#8220;blunders&#8221; in design where an earlier public field was exposed (java.awt.Point anyone?) could easily be fixed by replacing the public field with a public property which *can* have setter/getter methods controlling values and hiding real representation of the data inside the object.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frits Jalvingh</title>
		<link>http://cafe.elharo.com/blogroll/why-java-doesnt-need-properties-it-already-has-them/comment-page-1/#comment-55678</link>
		<dc:creator>Frits Jalvingh</dc:creator>
		<pubDate>Sun, 11 Feb 2007 22:36:37 +0000</pubDate>
		<guid isPermaLink="false">http://cafe.elharo.com/java/why-java-doesnt-need-properties-it-already-has-them/#comment-55678</guid>
		<description>There&#039;s nothing that can be done using assembly either. Heck, use bloody JVM bytecode directly: no need for a friggin&#039; language!
Why anyone likes the getters/setters pattern is a mystery to me. Also remarkable is everyone&#039;s issue that the language just got more complex.. Did you not have to learn the getter/setter convention? Just removing shitloads of boilerplate from code would be enough validation for properties! This is the same argument as the &quot;enum&quot; argument all over again. Yes, you can code *lots* of basic constructs by hand in Java. But doing it again and again is stupid: a language is meant to make life easier!

Properties, when defined properly, can encapsulate &quot;field access&quot; - which regardless of any rants about data hiding in OO design are very frequent- in a very short way *with* all of the control present in setter/getter methods. In addition it would open the way to another very desirable thing: property references.

In many frameworks one needs a reference to some &quot;field&quot;. Take for instance a database framework like hibernate: when I need to do a query I have to code the fields as strings because I cannot  reference them directly. This renders them invisible to all IDE refactorings or access checks. With a properly defined property standard we could have &quot;field&quot; like references that are visible to the compiler and IDE. 

Why is it that everyone thinks change is bad? A remark like &quot;New technologies compete on features; mature technologies compete on deployment&quot; really gets me pissed of! What complacence! If Java was the best invention since bread it would be OK but Java is fraught with problems and not even close to perfection. Assuming that it is just leads to obsolescence and replacement. And that replacement might come as C# (which is way better designed IMO) which would really be a disaster - gone cross-platform deployment..</description>
		<content:encoded><![CDATA[<p>There&#8217;s nothing that can be done using assembly either. Heck, use bloody JVM bytecode directly: no need for a friggin&#8217; language!<br />
Why anyone likes the getters/setters pattern is a mystery to me. Also remarkable is everyone&#8217;s issue that the language just got more complex.. Did you not have to learn the getter/setter convention? Just removing shitloads of boilerplate from code would be enough validation for properties! This is the same argument as the &#8220;enum&#8221; argument all over again. Yes, you can code *lots* of basic constructs by hand in Java. But doing it again and again is stupid: a language is meant to make life easier!</p>
<p>Properties, when defined properly, can encapsulate &#8220;field access&#8221; &#8211; which regardless of any rants about data hiding in OO design are very frequent- in a very short way *with* all of the control present in setter/getter methods. In addition it would open the way to another very desirable thing: property references.</p>
<p>In many frameworks one needs a reference to some &#8220;field&#8221;. Take for instance a database framework like hibernate: when I need to do a query I have to code the fields as strings because I cannot  reference them directly. This renders them invisible to all IDE refactorings or access checks. With a properly defined property standard we could have &#8220;field&#8221; like references that are visible to the compiler and IDE. </p>
<p>Why is it that everyone thinks change is bad? A remark like &#8220;New technologies compete on features; mature technologies compete on deployment&#8221; really gets me pissed of! What complacence! If Java was the best invention since bread it would be OK but Java is fraught with problems and not even close to perfection. Assuming that it is just leads to obsolescence and replacement. And that replacement might come as C# (which is way better designed IMO) which would really be a disaster &#8211; gone cross-platform deployment..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: J. Moore</title>
		<link>http://cafe.elharo.com/blogroll/why-java-doesnt-need-properties-it-already-has-them/comment-page-1/#comment-55324</link>
		<dc:creator>J. Moore</dc:creator>
		<pubDate>Sat, 10 Feb 2007 11:42:03 +0000</pubDate>
		<guid isPermaLink="false">http://cafe.elharo.com/java/why-java-doesnt-need-properties-it-already-has-them/#comment-55324</guid>
		<description>There is a big difference between changing the language and adding new capabilities through code libraries.  From version 1.1 through version 1.4, there were very few changes to the language -- almost all changes were new libraries or enhancements to existing libraries.  Version 5.0 (1.5) had several major changes, including generics.  I think it was a mistake, and I am very much against most of the proposed future language changes, especially closures and properties.  Like generics, they will further complicate the language, and they attempt to solve a problem that I don&#039;t have in using Java.  PLEASE, MINIMIZE FUTURE CHANGES TO THE JAVA LANGUAGE.</description>
		<content:encoded><![CDATA[<p>There is a big difference between changing the language and adding new capabilities through code libraries.  From version 1.1 through version 1.4, there were very few changes to the language &#8212; almost all changes were new libraries or enhancements to existing libraries.  Version 5.0 (1.5) had several major changes, including generics.  I think it was a mistake, and I am very much against most of the proposed future language changes, especially closures and properties.  Like generics, they will further complicate the language, and they attempt to solve a problem that I don&#8217;t have in using Java.  PLEASE, MINIMIZE FUTURE CHANGES TO THE JAVA LANGUAGE.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: air</title>
		<link>http://cafe.elharo.com/blogroll/why-java-doesnt-need-properties-it-already-has-them/comment-page-1/#comment-55029</link>
		<dc:creator>air</dc:creator>
		<pubDate>Fri, 09 Feb 2007 00:52:12 +0000</pubDate>
		<guid isPermaLink="false">http://cafe.elharo.com/java/why-java-doesnt-need-properties-it-already-has-them/#comment-55029</guid>
		<description>I agreed, Java is a mess.</description>
		<content:encoded><![CDATA[<p>I agreed, Java is a mess.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Unilever Centre for Molecular Informatics, Cambridge - Jim Downing &#187; Blog Archive &#187; Elliotte Harold on Java 7</title>
		<link>http://cafe.elharo.com/blogroll/why-java-doesnt-need-properties-it-already-has-them/comment-page-1/#comment-53040</link>
		<dc:creator>Unilever Centre for Molecular Informatics, Cambridge - Jim Downing &#187; Blog Archive &#187; Elliotte Harold on Java 7</dc:creator>
		<pubDate>Thu, 01 Feb 2007 17:21:40 +0000</pubDate>
		<guid isPermaLink="false">http://cafe.elharo.com/java/why-java-doesnt-need-properties-it-already-has-them/#comment-53040</guid>
		<description>[...] Whilst I don&#8217;t agree with all of the points he&#8217;s making, anyone who&#8217;s interested in the future of Java as a language or generally geeks out on programming language development should check out Elliotte Harold&#8217;s recent blog posts. Start here. [...]</description>
		<content:encoded><![CDATA[<p>[...] Whilst I don&#8217;t agree with all of the points he&#8217;s making, anyone who&#8217;s interested in the future of Java as a language or generally geeks out on programming language development should check out Elliotte Harold&#8217;s recent blog posts. Start here. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pragmatic Dictator &#187; Blog Archive &#187; Why Is Everything a Language Extension?</title>
		<link>http://cafe.elharo.com/blogroll/why-java-doesnt-need-properties-it-already-has-them/comment-page-1/#comment-52049</link>
		<dc:creator>Pragmatic Dictator &#187; Blog Archive &#187; Why Is Everything a Language Extension?</dc:creator>
		<pubDate>Mon, 29 Jan 2007 13:13:55 +0000</pubDate>
		<guid isPermaLink="false">http://cafe.elharo.com/java/why-java-doesnt-need-properties-it-already-has-them/#comment-52049</guid>
		<description>[...] Now it&#8217;s Java properties. [...]</description>
		<content:encoded><![CDATA[<p>[...] Now it&#8217;s Java properties. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
