<?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/"
	
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: &#9733; What Error</title>
	<atom:link href="http://awads.net/wp/2010/04/20/what-error/feed/" rel="self" type="application/rss+xml" />
	<link>http://awads.net/wp/2010/04/20/what-error/</link>
	<description>News, views, tips and tricks on Oracle and other fun stuff</description>
	<lastBuildDate>Mon, 21 May 2012 00:26:47 -0700</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Eddie Awad</title>
		<link>http://awads.net/wp/2010/04/20/what-error/comment-page-1/#comment-53570</link>
		<dc:creator>Eddie Awad</dc:creator>
		<pubDate>Wed, 21 Apr 2010 03:02:07 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/?p=1650#comment-53570</guid>
		<description>&lt;p&gt;My preference is to have all variable initializations done in the body rather than the declaration. If you want to catch an exception that may result from initializing a variable you&#039;d better move the assignment from the declaration to the body.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>My preference is to have all variable initializations done in the body rather than the declaration. If you want to catch an exception that may result from initializing a variable you&#8217;d better move the assignment from the declaration to the body.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gary</title>
		<link>http://awads.net/wp/2010/04/20/what-error/comment-page-1/#comment-53569</link>
		<dc:creator>gary</dc:creator>
		<pubDate>Tue, 20 Apr 2010 22:34:54 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/?p=1650#comment-53569</guid>
		<description>&lt;p&gt;I don&#039;t think it should be a compiler error as this is just a simple example of a more complex error situation. It could be an assignment from a parameter, package variables, SYS_CONTEXT call...&lt;/p&gt;

&lt;p&gt;I frown on assignment in the declaration section to anything other than a literal (number/string/date), but you don&#039;t have a choice for CONSTANTs which can&#039;t be assigned in the body.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I don&#8217;t think it should be a compiler error as this is just a simple example of a more complex error situation. It could be an assignment from a parameter, package variables, SYS_CONTEXT call&#8230;</p>

<p>I frown on assignment in the declaration section to anything other than a literal (number/string/date), but you don&#8217;t have a choice for CONSTANTs which can&#8217;t be assigned in the body.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Venzi</title>
		<link>http://awads.net/wp/2010/04/20/what-error/comment-page-1/#comment-53568</link>
		<dc:creator>Venzi</dc:creator>
		<pubDate>Tue, 20 Apr 2010 21:27:21 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/?p=1650#comment-53568</guid>
		<description>&lt;p&gt;Hi Eddi,&lt;/p&gt;

&lt;p&gt;I don&#039;t think that initializing variables in the declaration section can be considered as bad practice! I think it makes perfectly sense. Imagine a simple PL/SQL procedure with just 1 BEGIN/END block. You have the same situation, you overrun the buffer already during the initialization. I think this is an programming error and the compiler should print you the error already during compilation rather then throwing an exception during runtime. But I guess this is a matter of taste....&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Eddi,</p>

<p>I don&#8217;t think that initializing variables in the declaration section can be considered as bad practice! I think it makes perfectly sense. Imagine a simple PL/SQL procedure with just 1 BEGIN/END block. You have the same situation, you overrun the buffer already during the initialization. I think this is an programming error and the compiler should print you the error already during compilation rather then throwing an exception during runtime. But I guess this is a matter of taste&#8230;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

