<?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: Logical Puzzle</title>
	<atom:link href="http://javablog.co.uk/2007/11/20/logical-puzzle/feed/" rel="self" type="application/rss+xml" />
	<link>http://javablog.co.uk/2007/11/20/logical-puzzle/</link>
	<description>by Java coders, for Java coders</description>
	<lastBuildDate>Thu, 22 Jul 2010 12:24:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Sam</title>
		<link>http://javablog.co.uk/2007/11/20/logical-puzzle/comment-page-1/#comment-3056</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Fri, 23 Nov 2007 10:03:23 +0000</pubDate>
		<guid isPermaLink="false">http://javablog.co.uk/2007/11/20/logical-puzzle/#comment-3056</guid>
		<description>&lt;p&gt;@KesheR you mean go through our blogroll in detail? (btw... it was a bitwise OR, not a logical OR)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@KesheR you mean go through our blogroll in detail? (btw&#8230; it was a bitwise OR, not a logical OR)</p>]]></content:encoded>
	</item>
	<item>
		<title>By: KesheR</title>
		<link>http://javablog.co.uk/2007/11/20/logical-puzzle/comment-page-1/#comment-3041</link>
		<dc:creator>KesheR</dc:creator>
		<pubDate>Thu, 22 Nov 2007 21:41:04 +0000</pubDate>
		<guid isPermaLink="false">http://javablog.co.uk/2007/11/20/logical-puzzle/#comment-3041</guid>
		<description>&lt;p&gt;I noticed the logical OR, but just because I was looking for something weird.&lt;/p&gt;

&lt;p&gt;I have a suggestion. You have pretty good links here... I&#039;d be glad if you could tell us about great blogs on Java and new techonologies. Thanks.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I noticed the logical OR, but just because I was looking for something weird.</p>

<p>I have a suggestion. You have pretty good links here&#8230; I&#8217;d be glad if you could tell us about great blogs on Java and new techonologies. Thanks.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Kezzer</title>
		<link>http://javablog.co.uk/2007/11/20/logical-puzzle/comment-page-1/#comment-2993</link>
		<dc:creator>Kezzer</dc:creator>
		<pubDate>Wed, 21 Nov 2007 09:31:02 +0000</pubDate>
		<guid isPermaLink="false">http://javablog.co.uk/2007/11/20/logical-puzzle/#comment-2993</guid>
		<description>&lt;p&gt;Sam, is it one of those lines of code you look at and literally cringe? I could say &quot;I don&#039;t know any better&quot; then.  You won&#039;t find any of my current code, however, which uses this concept.  Perhaps I&#039;ve grown out of it, or just haven&#039;t found a good use for it yet? ;)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Sam, is it one of those lines of code you look at and literally cringe? I could say &#8220;I don&#8217;t know any better&#8221; then.  You won&#8217;t find any of my current code, however, which uses this concept.  Perhaps I&#8217;ve grown out of it, or just haven&#8217;t found a good use for it yet? <img src='http://javablog.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://javablog.co.uk/2007/11/20/logical-puzzle/comment-page-1/#comment-2990</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Wed, 21 Nov 2007 09:07:00 +0000</pubDate>
		<guid isPermaLink="false">http://javablog.co.uk/2007/11/20/logical-puzzle/#comment-2990</guid>
		<description>&lt;p&gt;@Kezzer don&#039;t worry, nobody&#039;s offended... we&#039;re just gob-smacked that you have used this as a technique in the past. ;-)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@Kezzer don&#8217;t worry, nobody&#8217;s offended&#8230; we&#8217;re just gob-smacked that you have used this as a technique in the past. <img src='http://javablog.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>]]></content:encoded>
	</item>
	<item>
		<title>By: Kezzer</title>
		<link>http://javablog.co.uk/2007/11/20/logical-puzzle/comment-page-1/#comment-2978</link>
		<dc:creator>Kezzer</dc:creator>
		<pubDate>Tue, 20 Nov 2007 22:55:06 +0000</pubDate>
		<guid isPermaLink="false">http://javablog.co.uk/2007/11/20/logical-puzzle/#comment-2978</guid>
		<description>&lt;p&gt;I would have noticed it for the reason that it was my practise to use them originally.  I wouldn&#039;t use them now, and in fact, don&#039;t use them now, but not for my sake, for the sake of others.&lt;/p&gt;

&lt;p&gt;What I was originally getting at is that bitwise operations are a very basic construct learnt at entry-level programming.  I had no intention of offending anyone and neither was I trying to demean anyone.  Please, don&#039;t take it so harshly :)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I would have noticed it for the reason that it was my practise to use them originally.  I wouldn&#8217;t use them now, and in fact, don&#8217;t use them now, but not for my sake, for the sake of others.</p>

<p>What I was originally getting at is that bitwise operations are a very basic construct learnt at entry-level programming.  I had no intention of offending anyone and neither was I trying to demean anyone.  Please, don&#8217;t take it so harshly <img src='http://javablog.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://javablog.co.uk/2007/11/20/logical-puzzle/comment-page-1/#comment-2974</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Tue, 20 Nov 2007 20:43:53 +0000</pubDate>
		<guid isPermaLink="false">http://javablog.co.uk/2007/11/20/logical-puzzle/#comment-2974</guid>
		<description>&lt;p&gt;@Kezzer... this is an example of the cause for a very subtle bug, not an introduction to bitwise operators. It illustrates that in Java it&#039;s easy to mistype a bitwise operator for a logical one (and get unexpected results).&lt;/p&gt;

&lt;p&gt;If you didn&#039;t know to look for something odd in that code, would you have spotted it? Be honest now... it&#039;s a single character difference to what you&#039;d usually see, and because it&#039;s valid syntax, no IDE is going to flag it up.&lt;/p&gt;

&lt;p&gt;Personally, I think it is such bad coding style to use bitwise operators with boolean values that IDEs &lt;strong&gt;should&lt;/strong&gt; flag it up! I can&#039;t think of a single situation where non-lazy evaluation of logical conditions would possibly be a good thing.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@Kezzer&#8230; this is an example of the cause for a very subtle bug, not an introduction to bitwise operators. It illustrates that in Java it&#8217;s easy to mistype a bitwise operator for a logical one (and get unexpected results).</p>

<p>If you didn&#8217;t know to look for something odd in that code, would you have spotted it? Be honest now&#8230; it&#8217;s a single character difference to what you&#8217;d usually see, and because it&#8217;s valid syntax, no IDE is going to flag it up.</p>

<p>Personally, I think it is such bad coding style to use bitwise operators with boolean values that IDEs <strong>should</strong> flag it up! I can&#8217;t think of a single situation where non-lazy evaluation of logical conditions would possibly be a good thing.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: KesheR</title>
		<link>http://javablog.co.uk/2007/11/20/logical-puzzle/comment-page-1/#comment-2969</link>
		<dc:creator>KesheR</dc:creator>
		<pubDate>Tue, 20 Nov 2007 19:57:58 +0000</pubDate>
		<guid isPermaLink="false">http://javablog.co.uk/2007/11/20/logical-puzzle/#comment-2969</guid>
		<description>&lt;p&gt;HelloGoodbye?&lt;/p&gt;

&lt;p&gt;I&#039;m not sure if Java do the same thing with a OR C language does.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>HelloGoodbye?</p>

<p>I&#8217;m not sure if Java do the same thing with a OR C language does.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Kezzer</title>
		<link>http://javablog.co.uk/2007/11/20/logical-puzzle/comment-page-1/#comment-2967</link>
		<dc:creator>Kezzer</dc:creator>
		<pubDate>Tue, 20 Nov 2007 18:16:42 +0000</pubDate>
		<guid isPermaLink="false">http://javablog.co.uk/2007/11/20/logical-puzzle/#comment-2967</guid>
		<description>&lt;p&gt;It&#039;s only a terrible technique if the programmer doesn&#039;t know how to interpret it ;)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>It&#8217;s only a terrible technique if the programmer doesn&#8217;t know how to interpret it <img src='http://javablog.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>]]></content:encoded>
	</item>
	<item>
		<title>By: Kezzer</title>
		<link>http://javablog.co.uk/2007/11/20/logical-puzzle/comment-page-1/#comment-2955</link>
		<dc:creator>Kezzer</dc:creator>
		<pubDate>Tue, 20 Nov 2007 14:44:14 +0000</pubDate>
		<guid isPermaLink="false">http://javablog.co.uk/2007/11/20/logical-puzzle/#comment-2955</guid>
		<description>&lt;p&gt;Sorry, I meant to say most of my coding books apart from heavy C++ stuff DO NOT mention bitwise operations, or if they do, it&#039;s extremely brief and considered irrelevant.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Sorry, I meant to say most of my coding books apart from heavy C++ stuff DO NOT mention bitwise operations, or if they do, it&#8217;s extremely brief and considered irrelevant.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Kezzer</title>
		<link>http://javablog.co.uk/2007/11/20/logical-puzzle/comment-page-1/#comment-2954</link>
		<dc:creator>Kezzer</dc:creator>
		<pubDate>Tue, 20 Nov 2007 14:42:48 +0000</pubDate>
		<guid isPermaLink="false">http://javablog.co.uk/2007/11/20/logical-puzzle/#comment-2954</guid>
		<description>&lt;p&gt;Not to be cheeky, but this is entry level stuff. I think I learnt this before I went to university in fact, the use of bitwise evaluators that is.  It&#039;s a very handy technique when you need to perform operations in a conditional statement without having to nest statements or have else conditions, or just having arbitrarily placed calls.&lt;/p&gt;

&lt;p&gt;Immediately seeing that code though I knew what it would print - perhaps universities around the world don&#039;t pick up on stuff like this? But now it&#039;s mentioned, most of my coding books apart from some heavy C++ stuff mentions bitwise operations.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Not to be cheeky, but this is entry level stuff. I think I learnt this before I went to university in fact, the use of bitwise evaluators that is.  It&#8217;s a very handy technique when you need to perform operations in a conditional statement without having to nest statements or have else conditions, or just having arbitrarily placed calls.</p>

<p>Immediately seeing that code though I knew what it would print - perhaps universities around the world don&#8217;t pick up on stuff like this? But now it&#8217;s mentioned, most of my coding books apart from some heavy C++ stuff mentions bitwise operations.</p>]]></content:encoded>
	</item>
</channel>
</rss>
