<?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"
	>
<channel>
	<title>Comments for Little Tutorials</title>
	<atom:link href="http://littletutorials.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://littletutorials.com</link>
	<description>Bare bone information!</description>
	<pubDate>Thu, 28 Aug 2008 19:16:34 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>Comment on Exceptional Java - Exception design relativity by Michael Haggerty</title>
		<link>http://littletutorials.com/2008/05/23/exceptional-java-exception-design-relativity/#comment-738</link>
		<dc:creator>Michael Haggerty</dc:creator>
		<pubDate>Thu, 28 Aug 2008 08:03:03 +0000</pubDate>
		<guid isPermaLink="false">http://littletutorials.com/?p=37#comment-738</guid>
		<description>Approach 2 is not a solution because it contains a race condition.  Another thread could lower the customer's account balance between the times that hasFunds() and transferFunds() are called.  The check-and-transfer-funds sequence should be made atomic to avoid the need for external locking.</description>
		<content:encoded><![CDATA[<p>Approach 2 is not a solution because it contains a race condition.  Another thread could lower the customer&#8217;s account balance between the times that hasFunds() and transferFunds() are called.  The check-and-transfer-funds sequence should be made atomic to avoid the need for external locking.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Bad advice on exceptions from Joel by Jeremiah Morrill</title>
		<link>http://littletutorials.com/2008/08/23/bad-advice-on-exceptions-from-joel/#comment-737</link>
		<dc:creator>Jeremiah Morrill</dc:creator>
		<pubDate>Wed, 27 Aug 2008 23:18:13 +0000</pubDate>
		<guid isPermaLink="false">http://littletutorials.com/?p=50#comment-737</guid>
		<description>Dijkstra wrote that GOTO opinion piece in 1968, when use of the GOTO statement was overabundant and did cause a mess.  Today, using the GOTO statement is quite acceptable and will even find its usage in things such as the Linux kernel.

When used right, GOTO statements are much more readable than any alternative I can think of.  I'd never give it up.

-Jer</description>
		<content:encoded><![CDATA[<p>Dijkstra wrote that GOTO opinion piece in 1968, when use of the GOTO statement was overabundant and did cause a mess.  Today, using the GOTO statement is quite acceptable and will even find its usage in things such as the Linux kernel.</p>
<p>When used right, GOTO statements are much more readable than any alternative I can think of.  I&#8217;d never give it up.</p>
<p>-Jer</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Bad advice on exceptions from Joel by Wynand Winterbach</title>
		<link>http://littletutorials.com/2008/08/23/bad-advice-on-exceptions-from-joel/#comment-736</link>
		<dc:creator>Wynand Winterbach</dc:creator>
		<pubDate>Wed, 27 Aug 2008 12:21:54 +0000</pubDate>
		<guid isPermaLink="false">http://littletutorials.com/?p=50#comment-736</guid>
		<description>Damnit. I wrote "not everyone is a clueless [programming language name] basher", but with angle brackets and it got nuked :).</description>
		<content:encoded><![CDATA[<p>Damnit. I wrote &#8220;not everyone is a clueless [programming language name] basher&#8221;, but with angle brackets and it got nuked :).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Bad advice on exceptions from Joel by Wynand Winterbach</title>
		<link>http://littletutorials.com/2008/08/23/bad-advice-on-exceptions-from-joel/#comment-735</link>
		<dc:creator>Wynand Winterbach</dc:creator>
		<pubDate>Wed, 27 Aug 2008 12:20:22 +0000</pubDate>
		<guid isPermaLink="false">http://littletutorials.com/?p=50#comment-735</guid>
		<description>@Ben, Stephen wasn't deliberately attacking C++. He has a point: out of all the existing C++ code bases, very few pervasively use smart pointers or the STL. Give more credit to other people; not everyone is a clueless  basher.</description>
		<content:encoded><![CDATA[<p>@Ben, Stephen wasn&#8217;t deliberately attacking C++. He has a point: out of all the existing C++ code bases, very few pervasively use smart pointers or the STL. Give more credit to other people; not everyone is a clueless  basher.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Bad advice on exceptions from Joel by Wynand Winterbach</title>
		<link>http://littletutorials.com/2008/08/23/bad-advice-on-exceptions-from-joel/#comment-734</link>
		<dc:creator>Wynand Winterbach</dc:creator>
		<pubDate>Wed, 27 Aug 2008 12:12:26 +0000</pubDate>
		<guid isPermaLink="false">http://littletutorials.com/?p=50#comment-734</guid>
		<description>@Imp: I just realized you said everything I'm about to say, but more eloquently. But since I spent my lunch hour walk thinking about this, I'm posting my reply anyway.

If an exception it thrown, 9 times out of 10, it's because something went wrong in your program. When this happens, I want all the state changes that occurred to be rolled back.

If you catch an exception far away from the point at which it was raised, it means that the methods in between had no interest in handling it. There are two cases where this would hold:
1. either the methods are executing additional code for side effects, or
2. the methods are computing some values to return in addition to the value computed by the method which raised the exception.

I try to avoid case 1, since this would leave the program with a possibly incomplete state change. Case 2 is a possibility, but in that case you should rather be returning an error code or something like Haskell's Maybe - such a return value could be checked by one of the in between methods to decide whether to continue computing an additional return value or to abort.</description>
		<content:encoded><![CDATA[<p>@Imp: I just realized you said everything I&#8217;m about to say, but more eloquently. But since I spent my lunch hour walk thinking about this, I&#8217;m posting my reply anyway.</p>
<p>If an exception it thrown, 9 times out of 10, it&#8217;s because something went wrong in your program. When this happens, I want all the state changes that occurred to be rolled back.</p>
<p>If you catch an exception far away from the point at which it was raised, it means that the methods in between had no interest in handling it. There are two cases where this would hold:<br />
1. either the methods are executing additional code for side effects, or<br />
2. the methods are computing some values to return in addition to the value computed by the method which raised the exception.</p>
<p>I try to avoid case 1, since this would leave the program with a possibly incomplete state change. Case 2 is a possibility, but in that case you should rather be returning an error code or something like Haskell&#8217;s Maybe - such a return value could be checked by one of the in between methods to decide whether to continue computing an additional return value or to abort.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Bad advice on exceptions from Joel by Ben</title>
		<link>http://littletutorials.com/2008/08/23/bad-advice-on-exceptions-from-joel/#comment-733</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Tue, 26 Aug 2008 14:40:07 +0000</pubDate>
		<guid isPermaLink="false">http://littletutorials.com/?p=50#comment-733</guid>
		<description>Saying don't use exceptions in C++ because it doesn't have garbage collection is just FUD.  Anyone saying that either doesn't code C++, or codes C and calls themselves a C++ programmer.

If you can't handle smart pointers,  STL containers or ptr container wrappers (either your own or from the boost library) and the like, then just stick to a garbage collected language, but please just leave C++ out of it as you clearly have no idea what you are talking about.</description>
		<content:encoded><![CDATA[<p>Saying don&#8217;t use exceptions in C++ because it doesn&#8217;t have garbage collection is just FUD.  Anyone saying that either doesn&#8217;t code C++, or codes C and calls themselves a C++ programmer.</p>
<p>If you can&#8217;t handle smart pointers,  STL containers or ptr container wrappers (either your own or from the boost library) and the like, then just stick to a garbage collected language, but please just leave C++ out of it as you clearly have no idea what you are talking about.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Code review - The meaningless ritual by Deepak</title>
		<link>http://littletutorials.com/2008/07/19/code-review-the-meaningless-ritual/#comment-732</link>
		<dc:creator>Deepak</dc:creator>
		<pubDate>Mon, 25 Aug 2008 22:00:40 +0000</pubDate>
		<guid isPermaLink="false">http://littletutorials.com/?p=46#comment-732</guid>
		<description>I have a similar position on coding standards. If there was a way to count them, then I assume that there could be millions of coding standard documents on the planet. Most of these say the same thing such as how should curly braces be written.

Coding standards should be just plain old common sense. But then again it is the least common of senses :)</description>
		<content:encoded><![CDATA[<p>I have a similar position on coding standards. If there was a way to count them, then I assume that there could be millions of coding standard documents on the planet. Most of these say the same thing such as how should curly braces be written.</p>
<p>Coding standards should be just plain old common sense. But then again it is the least common of senses <img src='http://littletutorials.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Software development dogmata - good practices gone bad by kapanpun</title>
		<link>http://littletutorials.com/2008/08/02/software-development-dogmata/#comment-731</link>
		<dc:creator>kapanpun</dc:creator>
		<pubDate>Mon, 25 Aug 2008 19:57:02 +0000</pubDate>
		<guid isPermaLink="false">http://littletutorials.com/?p=49#comment-731</guid>
		<description>his article is spot-on. Software development is a craft, not a science, nor is it a manufacturing process. Software 'Engineering' is a misleading term. Building software is not like building a bridge. There are no silver bullets. No single methodology is ever going to cover all the software development cases. There are simply too many different environments for which software is built.</description>
		<content:encoded><![CDATA[<p>his article is spot-on. Software development is a craft, not a science, nor is it a manufacturing process. Software &#8216;Engineering&#8217; is a misleading term. Building software is not like building a bridge. There are no silver bullets. No single methodology is ever going to cover all the software development cases. There are simply too many different environments for which software is built.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Bad advice on exceptions from Joel by Stephen</title>
		<link>http://littletutorials.com/2008/08/23/bad-advice-on-exceptions-from-joel/#comment-730</link>
		<dc:creator>Stephen</dc:creator>
		<pubDate>Mon, 25 Aug 2008 11:53:52 +0000</pubDate>
		<guid isPermaLink="false">http://littletutorials.com/?p=50#comment-730</guid>
		<description>Actually, Joel is right on the money.

This is mostly because of the lack of garbage collection in C++, there are too many ways to make mistakes with exceptions.

Error codes are of course bad, but they are the least bad choice.</description>
		<content:encoded><![CDATA[<p>Actually, Joel is right on the money.</p>
<p>This is mostly because of the lack of garbage collection in C++, there are too many ways to make mistakes with exceptions.</p>
<p>Error codes are of course bad, but they are the least bad choice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Script Thy Java App by Tomek</title>
		<link>http://littletutorials.com/2008/05/10/script-thy-java-app/#comment-729</link>
		<dc:creator>Tomek</dc:creator>
		<pubDate>Mon, 25 Aug 2008 11:36:47 +0000</pubDate>
		<guid isPermaLink="false">http://littletutorials.com/?p=33#comment-729</guid>
		<description>nice tutorial, thanks

but a counter class should rather have increment() method - using setter (counter.set(i+1)) smells like rotten JavaBean, uh, ugly smell, uh...

cheers
Tomek</description>
		<content:encoded><![CDATA[<p>nice tutorial, thanks</p>
<p>but a counter class should rather have increment() method - using setter (counter.set(i+1)) smells like rotten JavaBean, uh, ugly smell, uh&#8230;</p>
<p>cheers<br />
Tomek</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.626 seconds -->
