<?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: Compiler compliant, or figuring out error messages in code</title>
	<atom:link href="http://compsci.ca/blog/compiler-compliant-or-figuring-out-error-messages-in-code/feed/" rel="self" type="application/rss+xml" />
	<link>http://compsci.ca/blog/compiler-compliant-or-figuring-out-error-messages-in-code/</link>
	<description>Programming, Education, Computer Science</description>
	<lastBuildDate>Thu, 24 Feb 2011 18:08:53 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: RB</title>
		<link>http://compsci.ca/blog/compiler-compliant-or-figuring-out-error-messages-in-code/comment-page-1/#comment-101395</link>
		<dc:creator>RB</dc:creator>
		<pubDate>Sat, 09 Feb 2008 16:28:35 +0000</pubDate>
		<guid isPermaLink="false">http://compsci.ca/blog/compiler-compliant-or-figuring-out-error-messages-in-code/#comment-101395</guid>
		<description>Debugging your own code is insane when you have thousands of lines :)</description>
		<content:encoded><![CDATA[<p>Debugging your own code is insane when you have thousands of lines <img src='http://compsci.ca/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gautam madeshia</title>
		<link>http://compsci.ca/blog/compiler-compliant-or-figuring-out-error-messages-in-code/comment-page-1/#comment-101200</link>
		<dc:creator>gautam madeshia</dc:creator>
		<pubDate>Fri, 01 Feb 2008 15:46:20 +0000</pubDate>
		<guid isPermaLink="false">http://compsci.ca/blog/compiler-compliant-or-figuring-out-error-messages-in-code/#comment-101200</guid>
		<description>ahh...debugging...i used to love those harcore &quot;debugging&quot; sessions using softice :D

I used to adore softice. Too bad that numega had to kill such an excellent pieced of debugger.

Now, i am trying to cope up with windbg.</description>
		<content:encoded><![CDATA[<p>ahh&#8230;debugging&#8230;i used to love those harcore &#8220;debugging&#8221; sessions using softice <img src='http://compsci.ca/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>I used to adore softice. Too bad that numega had to kill such an excellent pieced of debugger.</p>
<p>Now, i am trying to cope up with windbg.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony</title>
		<link>http://compsci.ca/blog/compiler-compliant-or-figuring-out-error-messages-in-code/comment-page-1/#comment-101120</link>
		<dc:creator>Tony</dc:creator>
		<pubDate>Tue, 29 Jan 2008 03:29:36 +0000</pubDate>
		<guid isPermaLink="false">http://compsci.ca/blog/compiler-compliant-or-figuring-out-error-messages-in-code/#comment-101120</guid>
		<description>Students will indeed try weird things, and what&#039;s more is that such &lt;em&gt;&quot;weird&quot;&lt;/em&gt; code will make absolute sense to them. That is why it is so important for them to learn to understand just what the compiler is trying to tell them.

Perhaps this is a yet another argument in favour of teaching with interpreted languages and interactive consoles. Syntactical errors are limited to a block of code, often just a single line. It could be a pain when two bugs in compiled code compound to an extraordinary bizarre situation.</description>
		<content:encoded><![CDATA[<p>Students will indeed try weird things, and what&#8217;s more is that such <em>&#8220;weird&#8221;</em> code will make absolute sense to them. That is why it is so important for them to learn to understand just what the compiler is trying to tell them.</p>
<p>Perhaps this is a yet another argument in favour of teaching with interpreted languages and interactive consoles. Syntactical errors are limited to a block of code, often just a single line. It could be a pain when two bugs in compiled code compound to an extraordinary bizarre situation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aramadia</title>
		<link>http://compsci.ca/blog/compiler-compliant-or-figuring-out-error-messages-in-code/comment-page-1/#comment-101117</link>
		<dc:creator>aramadia</dc:creator>
		<pubDate>Tue, 29 Jan 2008 01:37:04 +0000</pubDate>
		<guid isPermaLink="false">http://compsci.ca/blog/compiler-compliant-or-figuring-out-error-messages-in-code/#comment-101117</guid>
		<description>It can become extremely frustrating.  In C++, I stand no chance because sometimes errors occur in headers I don&#039;t even know about and it takes me a while to find that missing bracket in a completely different header.  Even in Java, when I teach younger students who try really weird things such as if (expression) else (expression) instead of elseif, the compiler simply fails.  Sometimes I get &quot;construct&quot; errors and it really amazes me how hard it is to find a typo in someone else code because you can&#039;t imagine making the same mistake.</description>
		<content:encoded><![CDATA[<p>It can become extremely frustrating.  In C++, I stand no chance because sometimes errors occur in headers I don&#8217;t even know about and it takes me a while to find that missing bracket in a completely different header.  Even in Java, when I teach younger students who try really weird things such as if (expression) else (expression) instead of elseif, the compiler simply fails.  Sometimes I get &#8220;construct&#8221; errors and it really amazes me how hard it is to find a typo in someone else code because you can&#8217;t imagine making the same mistake.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony</title>
		<link>http://compsci.ca/blog/compiler-compliant-or-figuring-out-error-messages-in-code/comment-page-1/#comment-101119</link>
		<dc:creator>Tony</dc:creator>
		<pubDate>Tue, 29 Jan 2008 01:32:33 +0000</pubDate>
		<guid isPermaLink="false">http://compsci.ca/blog/compiler-compliant-or-figuring-out-error-messages-in-code/#comment-101119</guid>
		<description>I am frightened of &lt;em&gt;&quot;self-correcting code&quot;&lt;/em&gt; for a number of reasons. As a developer I would simply not want the system to start making assumptions about what I&#039;m doing, as that will certainly end badly. From the educational standpoint, this would also encourage lax standards and breed programmers who would simply rely on the existing system.

Though from the practical standpoint, this is only feasible for the trivial mistakes with syntactic sugar -- that is, if a compiler can figure exactly where the missing period must be placed, then we don&#039;t really need that period at all.</description>
		<content:encoded><![CDATA[<p>I am frightened of <em>&#8220;self-correcting code&#8221;</em> for a number of reasons. As a developer I would simply not want the system to start making assumptions about what I&#8217;m doing, as that will certainly end badly. From the educational standpoint, this would also encourage lax standards and breed programmers who would simply rely on the existing system.</p>
<p>Though from the practical standpoint, this is only feasible for the trivial mistakes with syntactic sugar &#8212; that is, if a compiler can figure exactly where the missing period must be placed, then we don&#8217;t really need that period at all.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RRabins</title>
		<link>http://compsci.ca/blog/compiler-compliant-or-figuring-out-error-messages-in-code/comment-page-1/#comment-101116</link>
		<dc:creator>RRabins</dc:creator>
		<pubDate>Tue, 29 Jan 2008 01:31:46 +0000</pubDate>
		<guid isPermaLink="false">http://compsci.ca/blog/compiler-compliant-or-figuring-out-error-messages-in-code/#comment-101116</guid>
		<description>Back in the late 80s or early 90s there was a compiler (I believe it was called Clarion) that promoted a smarter compiler. The thinking was, if you got a compiler error that reported, &quot;Error: Missing period,&quot; clearly the compiler knew what the error was, and therefore could fix it -- and should. In fact, this remains the case. Many code errors could be automatically repaired by the compiler if it were designed to do so. I think the notion of a self-correcting code is a frightening one to compiler developers, and therefore the notion hasn&#039;t advanced.</description>
		<content:encoded><![CDATA[<p>Back in the late 80s or early 90s there was a compiler (I believe it was called Clarion) that promoted a smarter compiler. The thinking was, if you got a compiler error that reported, &#8220;Error: Missing period,&#8221; clearly the compiler knew what the error was, and therefore could fix it &#8212; and should. In fact, this remains the case. Many code errors could be automatically repaired by the compiler if it were designed to do so. I think the notion of a self-correcting code is a frightening one to compiler developers, and therefore the notion hasn&#8217;t advanced.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: michaelp</title>
		<link>http://compsci.ca/blog/compiler-compliant-or-figuring-out-error-messages-in-code/comment-page-1/#comment-101113</link>
		<dc:creator>michaelp</dc:creator>
		<pubDate>Mon, 28 Jan 2008 22:20:56 +0000</pubDate>
		<guid isPermaLink="false">http://compsci.ca/blog/compiler-compliant-or-figuring-out-error-messages-in-code/#comment-101113</guid>
		<description>Those crazy compiler errors really drive people crazy, don&#039;t they? Fortunately, I don&#039;t get them often because the code I write isn&#039;t too advanced, and an error will be something like &quot;cuot undeclared: first use this function&quot; or something because of a typo I made. I usually I don&#039;t try too many new things though because I&#039;m not sure how to use them, or only a small bit on how, so I don&#039;t get crazy messages. Maybe I should expand and start trying some new things in the language I am using.</description>
		<content:encoded><![CDATA[<p>Those crazy compiler errors really drive people crazy, don&#8217;t they? Fortunately, I don&#8217;t get them often because the code I write isn&#8217;t too advanced, and an error will be something like &#8220;cuot undeclared: first use this function&#8221; or something because of a typo I made. I usually I don&#8217;t try too many new things though because I&#8217;m not sure how to use them, or only a small bit on how, so I don&#8217;t get crazy messages. Maybe I should expand and start trying some new things in the language I am using.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://compsci.ca/blog/compiler-compliant-or-figuring-out-error-messages-in-code/comment-page-1/#comment-101107</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Mon, 28 Jan 2008 11:16:58 +0000</pubDate>
		<guid isPermaLink="false">http://compsci.ca/blog/compiler-compliant-or-figuring-out-error-messages-in-code/#comment-101107</guid>
		<description>Haha, Its worse trying to fix someone else&#039;s bad code and having to sift through lines and lines to just solve a simple problem. Joys of xkcd comics, relive the brain on exploding from horrible code.</description>
		<content:encoded><![CDATA[<p>Haha, Its worse trying to fix someone else&#8217;s bad code and having to sift through lines and lines to just solve a simple problem. Joys of xkcd comics, relive the brain on exploding from horrible code.</p>
]]></content:encoded>
	</item>
</channel>
</rss>


