<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Why Java Doesn&#8217;t Need Properties (It already has them)</title>
	<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>
	<pubDate>Sun, 20 Jul 2008 17:20:05 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.2</generator>
		<item>
		<title>By: Chad Grant</title>
		<link>http://cafe.elharo.com/blogroll/why-java-doesnt-need-properties-it-already-has-them/#comment-194352</link>
		<dc:creator>Chad Grant</dc:creator>
		<pubDate>Fri, 22 Feb 2008 04:13:07 +0000</pubDate>
		<guid>http://cafe.elharo.com/blogroll/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'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-81934</link>
		<dc:creator>non nude cheerleader</dc:creator>
		<pubDate>Thu, 26 Apr 2007 13:49:21 +0000</pubDate>
		<guid>http://cafe.elharo.com/blogroll/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-55679</link>
		<dc:creator>Frits Jalvingh</dc:creator>
		<pubDate>Sun, 11 Feb 2007 22:39:33 +0000</pubDate>
		<guid>http://cafe.elharo.com/blogroll/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 "blunders" 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-55678</link>
		<dc:creator>Frits Jalvingh</dc:creator>
		<pubDate>Sun, 11 Feb 2007 22:36:37 +0000</pubDate>
		<guid>http://cafe.elharo.com/blogroll/why-java-doesnt-need-properties-it-already-has-them/#comment-55678</guid>
		<description>There's nothing that can be done using assembly either. Heck, use bloody JVM bytecode directly: no need for a friggin' language!
Why anyone likes the getters/setters pattern is a mystery to me. Also remarkable is everyone'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 "enum" 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 "field access" - 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 "field". 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 "field" like references that are visible to the compiler and IDE. 

Why is it that everyone thinks change is bad? A remark like "New technologies compete on features; mature technologies compete on deployment" 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; - 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 - 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-55324</link>
		<dc:creator>J. Moore</dc:creator>
		<pubDate>Sat, 10 Feb 2007 11:42:03 +0000</pubDate>
		<guid>http://cafe.elharo.com/blogroll/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'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-55029</link>
		<dc:creator>air</dc:creator>
		<pubDate>Fri, 09 Feb 2007 00:52:12 +0000</pubDate>
		<guid>http://cafe.elharo.com/blogroll/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-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>http://cafe.elharo.com/blogroll/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>[&#8230;] 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. [&#8230;]</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-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>http://cafe.elharo.com/blogroll/why-java-doesnt-need-properties-it-already-has-them/#comment-52049</guid>
		<description>[...] Now it&#8217;s Java properties. [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Now it&#8217;s Java properties. [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: evanx</title>
		<link>http://cafe.elharo.com/blogroll/why-java-doesnt-need-properties-it-already-has-them/#comment-51682</link>
		<dc:creator>evanx</dc:creator>
		<pubDate>Sat, 27 Jan 2007 20:31:46 +0000</pubDate>
		<guid>http://cafe.elharo.com/blogroll/why-java-doesnt-need-properties-it-already-has-them/#comment-51682</guid>
		<description>Dan Howard, thanks for making me ROFL :) we've all been there, heh heh</description>
		<content:encoded><![CDATA[<p>Dan Howard, thanks for making me ROFL <img src='http://cafe.elharo.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> we&#8217;ve all been there, heh heh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan Howard</title>
		<link>http://cafe.elharo.com/blogroll/why-java-doesnt-need-properties-it-already-has-them/#comment-51472</link>
		<dc:creator>Dan Howard</dc:creator>
		<pubDate>Fri, 26 Jan 2007 23:59:54 +0000</pubDate>
		<guid>http://cafe.elharo.com/blogroll/why-java-doesnt-need-properties-it-already-has-them/#comment-51472</guid>
		<description>shite blog. cant post code fuk you all</description>
		<content:encoded><![CDATA[<p>shite blog. cant post code fuk you all</p>
]]></content:encoded>
	</item>
</channel>
</rss>
