<?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: Java is the SUV of programming languages</title>
	<atom:link href="http://www.forevergeek.com/2004/05/java_is_the_suv_of_programming_languages/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.forevergeek.com/2004/05/java_is_the_suv_of_programming_languages/</link>
	<description>Nerds are for Dorks</description>
	<lastBuildDate>Fri, 10 Feb 2012 21:04:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Ansdred</title>
		<link>http://www.forevergeek.com/2004/05/java_is_the_suv_of_programming_languages/#comment-18267</link>
		<dc:creator>Ansdred</dc:creator>
		<pubDate>Thu, 24 Mar 2005 14:29:00 +0000</pubDate>
		<guid isPermaLink="false">http://forevergeek.com/?p=329#comment-18267</guid>
		<description>You should also look at regular expressions (java.util.regex) they offer Perl-like (or sed/awk for you *nix folks) string manipulation.

Sticking up a little for the VB language here - VB has its uses.  It builds pretty Windows front-ends quickly and has a low learning curve.

Of course, a lot of that goes away with VB.NET.</description>
		<content:encoded><![CDATA[<p>You should also look at regular expressions (java.util.regex) they offer Perl-like (or sed/awk for you *nix folks) string manipulation.</p>
<p>Sticking up a little for the VB language here &#8211; VB has its uses.  It builds pretty Windows front-ends quickly and has a low learning curve.</p>
<p>Of course, a lot of that goes away with VB.NET.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicole</title>
		<link>http://www.forevergeek.com/2004/05/java_is_the_suv_of_programming_languages/#comment-18266</link>
		<dc:creator>Nicole</dc:creator>
		<pubDate>Mon, 10 May 2004 01:07:41 +0000</pubDate>
		<guid isPermaLink="false">http://forevergeek.com/?p=329#comment-18266</guid>
		<description>I, too, agree that anyone who considers Visual Basic a great programming language should be taken with a grain of salt.

To me, his biggest gripe seemed to be about bind variables in a PreparedStatement.  That&#039;s really very minor in the grand scheme of things.

Also, part of the reason Java takes longer in initial development is that it nearly forces one to write abstractly and in an object-oriented fashion.  Sure it takes a little longer, but maintenance is much, much faster than in procedural PHP.  One could completely change databases for a JSP application and it would be transparent if coded correctly from the get-go.  Try doing this in procedural PHP (PHP 5 excluded, of course).</description>
		<content:encoded><![CDATA[<p>I, too, agree that anyone who considers Visual Basic a great programming language should be taken with a grain of salt.</p>
<p>To me, his biggest gripe seemed to be about bind variables in a PreparedStatement.  That&#8217;s really very minor in the grand scheme of things.</p>
<p>Also, part of the reason Java takes longer in initial development is that it nearly forces one to write abstractly and in an object-oriented fashion.  Sure it takes a little longer, but maintenance is much, much faster than in procedural PHP.  One could completely change databases for a JSP application and it would be transparent if coded correctly from the get-go.  Try doing this in procedural PHP (PHP 5 excluded, of course).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JC</title>
		<link>http://www.forevergeek.com/2004/05/java_is_the_suv_of_programming_languages/#comment-18265</link>
		<dc:creator>JC</dc:creator>
		<pubDate>Sun, 09 May 2004 19:29:26 +0000</pubDate>
		<guid isPermaLink="false">http://forevergeek.com/?p=329#comment-18265</guid>
		<description>Thanks, Janne. We&#039;re building a web GUI for some  mainframe files to replace an old greenscreen application. There was one piece that was instead using some data off the SQL server, and the format of the SQL data and the mainframe data didn&#039;t match... I think I just modified the format of the data on the SQL server since it was a fairly static table. I don&#039;t really remember, it&#039;s been a week or two and there have been plenty of other headaches. :-)

We&#039;re not using much of JSP, mostly just the include function and some custom tags to translate/output xsl, and in a few places just dumping the variables out to the page if we don&#039;t need to use XSL for it.</description>
		<content:encoded><![CDATA[<p>Thanks, Janne. We&#8217;re building a web GUI for some  mainframe files to replace an old greenscreen application. There was one piece that was instead using some data off the SQL server, and the format of the SQL data and the mainframe data didn&#8217;t match&#8230; I think I just modified the format of the data on the SQL server since it was a fairly static table. I don&#8217;t really remember, it&#8217;s been a week or two and there have been plenty of other headaches. :-)</p>
<p>We&#8217;re not using much of JSP, mostly just the include function and some custom tags to translate/output xsl, and in a few places just dumping the variables out to the page if we don&#8217;t need to use XSL for it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Janne</title>
		<link>http://www.forevergeek.com/2004/05/java_is_the_suv_of_programming_languages/#comment-18264</link>
		<dc:creator>Janne</dc:creator>
		<pubDate>Sun, 09 May 2004 14:31:58 +0000</pubDate>
		<guid isPermaLink="false">http://forevergeek.com/?p=329#comment-18264</guid>
		<description>Well, you can always write a scriptlet...  JSP pages _are_ Java, after all.  I would also take a look at java.text.Format and its subclasses. They might be what you are really after.

However, without knowing the project for sure it&#039;s hard to say, but to me this smells that you are doing something wrong.  It is not very common to need string replacements anyway, and the fact that you need them sounds like you have someone who&#039;s trying to think in Perl or PHP while trying to program Java.

Java requires a certain... twist in the mindset to be efficient, and once you have been able to do that twist, you will see its power and elegance. However, if your mindset is oriented towards something like Perl, you _will_ hate Java because it is difficult to write things in it.  And you are probably much more efficient in writing something like PHP.

(BTW, JSP is a mistake from Sun, I think.  You really want to use something like Velocity if you want to build dynamical web pages properly.)</description>
		<content:encoded><![CDATA[<p>Well, you can always write a scriptlet&#8230;  JSP pages _are_ Java, after all.  I would also take a look at java.text.Format and its subclasses. They might be what you are really after.</p>
<p>However, without knowing the project for sure it&#8217;s hard to say, but to me this smells that you are doing something wrong.  It is not very common to need string replacements anyway, and the fact that you need them sounds like you have someone who&#8217;s trying to think in Perl or PHP while trying to program Java.</p>
<p>Java requires a certain&#8230; twist in the mindset to be efficient, and once you have been able to do that twist, you will see its power and elegance. However, if your mindset is oriented towards something like Perl, you _will_ hate Java because it is difficult to write things in it.  And you are probably much more efficient in writing something like PHP.</p>
<p>(BTW, JSP is a mistake from Sun, I think.  You really want to use something like Velocity if you want to build dynamical web pages properly.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JC</title>
		<link>http://www.forevergeek.com/2004/05/java_is_the_suv_of_programming_languages/#comment-18263</link>
		<dc:creator>JC</dc:creator>
		<pubDate>Sun, 09 May 2004 08:44:58 +0000</pubDate>
		<guid isPermaLink="false">http://forevergeek.com/?p=329#comment-18263</guid>
		<description>Thanks, Janne. I figured there was something missing. I think maybe he was suffering from tunnel vision... he does that alot. Might have been trying to avoid importing any more java packages or something. We found a better way to do whatever it was that would have needed it anyway... IIRC, I just ran an update on the SQL database to clean up the contents and modified the place it&#039;s getting input from so it writes it in the proper format going forward. He tends to forget I guess that not everything needs to be done on the fly.

Now, is there a way to do a replace in JSP without using any custom tag libraries? :-)</description>
		<content:encoded><![CDATA[<p>Thanks, Janne. I figured there was something missing. I think maybe he was suffering from tunnel vision&#8230; he does that alot. Might have been trying to avoid importing any more java packages or something. We found a better way to do whatever it was that would have needed it anyway&#8230; IIRC, I just ran an update on the SQL database to clean up the contents and modified the place it&#8217;s getting input from so it writes it in the proper format going forward. He tends to forget I guess that not everything needs to be done on the fly.</p>
<p>Now, is there a way to do a replace in JSP without using any custom tag libraries? :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Janne</title>
		<link>http://www.forevergeek.com/2004/05/java_is_the_suv_of_programming_languages/#comment-18262</link>
		<dc:creator>Janne</dc:creator>
		<pubDate>Sun, 09 May 2004 08:26:56 +0000</pubDate>
		<guid isPermaLink="false">http://forevergeek.com/?p=329#comment-18262</guid>
		<description>He was bullshitting you, or is completely clueless.  As Java Strings are immutable, all string handling routines are in StringBuffer, which has a nice little routine called replace().  It&#039;s not quite the same routine as with PHP, but any programmer worth his paycheck should be able to write or steal a routine as simple as that in less than five minutes.  It also turns out that the Hotspot JVM is very good in optimizing loops exactly such as this, so there is little or no performance hit compared to a native language version.

And on the article: anyone who seriously considers Visual Basic as a programming language should be taken with a grain of salt.</description>
		<content:encoded><![CDATA[<p>He was bullshitting you, or is completely clueless.  As Java Strings are immutable, all string handling routines are in StringBuffer, which has a nice little routine called replace().  It&#8217;s not quite the same routine as with PHP, but any programmer worth his paycheck should be able to write or steal a routine as simple as that in less than five minutes.  It also turns out that the Hotspot JVM is very good in optimizing loops exactly such as this, so there is little or no performance hit compared to a native language version.</p>
<p>And on the article: anyone who seriously considers Visual Basic as a programming language should be taken with a grain of salt.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JC</title>
		<link>http://www.forevergeek.com/2004/05/java_is_the_suv_of_programming_languages/#comment-18261</link>
		<dc:creator>JC</dc:creator>
		<pubDate>Sun, 09 May 2004 05:22:21 +0000</pubDate>
		<guid isPermaLink="false">http://forevergeek.com/?p=329#comment-18261</guid>
		<description>$foo = str_replace(&quot;hard&quot;, &quot;a pain in the arse&quot;, &quot;java is hard&quot;);

I got to listen to our consultant&#039;s assistant explain to me how doing something that simple in java would be very complicated for him and be extremely inefficient and slow down the application, because he&#039;d basically have to write something custom that would loop through the string character by character, count the number of characters til it finds the piece it needs to find, then truncate the string and combine it with the part on the other side, for as many times as the item is found (or something like that).

Now, I don&#039;t know java... I can read it a bit, and I can manage some basic JSP... but this guy&#039;s supposed to be very good... so I assume he wasn&#039;t feeding me a line of BS.... But BS that certainly is. Why on earth should people have to bend over backwards to do something as simple as a string replacement?</description>
		<content:encoded><![CDATA[<p>$foo = str_replace(&#8220;hard&#8221;, &#8220;a pain in the arse&#8221;, &#8220;java is hard&#8221;);</p>
<p>I got to listen to our consultant&#8217;s assistant explain to me how doing something that simple in java would be very complicated for him and be extremely inefficient and slow down the application, because he&#8217;d basically have to write something custom that would loop through the string character by character, count the number of characters til it finds the piece it needs to find, then truncate the string and combine it with the part on the other side, for as many times as the item is found (or something like that).</p>
<p>Now, I don&#8217;t know java&#8230; I can read it a bit, and I can manage some basic JSP&#8230; but this guy&#8217;s supposed to be very good&#8230; so I assume he wasn&#8217;t feeding me a line of BS&#8230;. But BS that certainly is. Why on earth should people have to bend over backwards to do something as simple as a string replacement?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

