<?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: RE: It&#8217;s not about one-liners</title>
	<atom:link href="http://almaer.com/blog/re-its-not-about-one-liners/feed" rel="self" type="application/rss+xml" />
	<link>http://almaer.com/blog/re-its-not-about-one-liners</link>
	<description>blogging about life, the universe, and everything tech</description>
	<lastBuildDate>Sat, 08 Sep 2012 07:06:53 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Cedric</title>
		<link>http://almaer.com/blog/re-its-not-about-one-liners/comment-page-1#comment-8729</link>
		<dc:creator>Cedric</dc:creator>
		<pubDate>Mon, 20 Sep 2004 16:25:17 +0000</pubDate>
		<guid isPermaLink="false">http://almaer.com/blog2/re-its-not-about-one-liners#comment-8729</guid>
		<description>Totally agree, Glen.  Actually, I was thinking of showing an example of properties in Ruby/Groovy to make my point initially.  I write so many getters/setters/fields every day in Java that it should be part of the language.

These are one-liners in Groovy, Ruby and C# (and I think I prefer the C# version of all three).

--
Cedric
</description>
		<content:encoded><![CDATA[<p>Totally agree, Glen.  Actually, I was thinking of showing an example of properties in Ruby/Groovy to make my point initially.  I write so many getters/setters/fields every day in Java that it should be part of the language.</p>
<p>These are one-liners in Groovy, Ruby and C# (and I think I prefer the C# version of all three).</p>
<p>&#8211;<br />
Cedric</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Glen Stampoultzis</title>
		<link>http://almaer.com/blog/re-its-not-about-one-liners/comment-page-1#comment-8728</link>
		<dc:creator>Glen Stampoultzis</dc:creator>
		<pubDate>Mon, 20 Sep 2004 16:10:31 +0000</pubDate>
		<guid isPermaLink="false">http://almaer.com/blog2/re-its-not-about-one-liners#comment-8728</guid>
		<description>Dion, not a very good example in this case but overall most of these &#039;scripting&#039; languages are a lot less verbose.

Marc, the main point isn&#039;t that the IDE can let you write lots of code quickly it&#039;s how quickly you can interpret it later when reading it back.  Less code does not always mean easier to read (ie Perl) but it can.  If Java would let me write something like:

property read write int totalCost;

indead of

private int totalCost;

public int getTotalCost()
{
return totalCost;
}

public void setTotalCost(int value)
{
this.setTotalCost = value;
}

it would be reduce the effort in understanding a new class.  Obviously one bit of code on it&#039;s own doesn&#039;t create a big problem but when you multiply this by 10 or more properties it starts to make a bigger difference and really this is just one potential way you make things easier.


</description>
		<content:encoded><![CDATA[<p>Dion, not a very good example in this case but overall most of these &#8217;scripting&#8217; languages are a lot less verbose.</p>
<p>Marc, the main point isn&#8217;t that the IDE can let you write lots of code quickly it&#8217;s how quickly you can interpret it later when reading it back.  Less code does not always mean easier to read (ie Perl) but it can.  If Java would let me write something like:</p>
<p>property read write int totalCost;</p>
<p>indead of</p>
<p>private int totalCost;</p>
<p>public int getTotalCost()<br />
{<br />
return totalCost;<br />
}</p>
<p>public void setTotalCost(int value)<br />
{<br />
this.setTotalCost = value;<br />
}</p>
<p>it would be reduce the effort in understanding a new class.  Obviously one bit of code on it&#8217;s own doesn&#8217;t create a big problem but when you multiply this by 10 or more properties it starts to make a bigger difference and really this is just one potential way you make things easier.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Morten Wilken</title>
		<link>http://almaer.com/blog/re-its-not-about-one-liners/comment-page-1#comment-8727</link>
		<dc:creator>Morten Wilken</dc:creator>
		<pubDate>Mon, 20 Sep 2004 10:55:08 +0000</pubDate>
		<guid isPermaLink="false">http://almaer.com/blog2/re-its-not-about-one-liners#comment-8727</guid>
		<description>String name=&quot;Dion &#039;Sick Boy&#039; Almaer&quot;;
name=name.replaceAll(&quot;Sick Boy&quot;,&quot;&quot;);

?


</description>
		<content:encoded><![CDATA[<p>String name=&#8221;Dion &#8216;Sick Boy&#8217; Almaer&#8221;;<br />
name=name.replaceAll(&#8221;Sick Boy&#8221;,&#8221;");</p>
<p>?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
