<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: gimme that returned thing.</title>
	<link>http://www.zerbie.com/2008/04/03/gimme-that-returned-thing/</link>
	<description>crazy, some say</description>
	<pubDate>Wed, 19 Nov 2008 17:30:48 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: Lindsey</title>
		<link>http://www.zerbie.com/2008/04/03/gimme-that-returned-thing/#comment-31</link>
		<dc:creator>Lindsey</dc:creator>
		<pubDate>Tue, 20 May 2008 10:18:13 +0000</pubDate>
		<guid>http://www.zerbie.com/2008/04/03/gimme-that-returned-thing/#comment-31</guid>
		<description>nat, the idea of such an operator sends a bit of chill down my spine.  The &lt;a href="http://books.google.com/books?id=ij8lVWNqgDoC&#38;pg=PA4&#38;lpg=PA4&#38;dq=%22consistent+renaming%22&#38;ots=4Mxwv0h_Cp&#38;sig=Fz51Ezj6aBUEHHlWdpNgno0kciE&#38;hl=en" rel="nofollow"&gt;consistent renaming&lt;/a&gt; problem is actually pretty hard even without this complication, and I think it would be really, really hard to implement it in a safe and predictable way.  What if the name collides with a name the next level up?  And so on.  

Also, Pam, my Python is awful, but how about just

&lt;code&gt;print do_something()&lt;/code&gt;

?  It seems to me that it's not so much about scope as it is that in the first example, the &lt;code&gt;do_something()&lt;/code&gt; function just never gets called.</description>
		<content:encoded><![CDATA[<p>nat, the idea of such an operator sends a bit of chill down my spine.  The <a href="http://books.google.com/books?id=ij8lVWNqgDoC&amp;pg=PA4&amp;lpg=PA4&amp;dq=%22consistent+renaming%22&amp;ots=4Mxwv0h_Cp&amp;sig=Fz51Ezj6aBUEHHlWdpNgno0kciE&amp;hl=en" rel="nofollow">consistent renaming</a> problem is actually pretty hard even without this complication, and I think it would be really, really hard to implement it in a safe and predictable way.  What if the name collides with a name the next level up?  And so on.  </p>
<p>Also, Pam, my Python is awful, but how about just</p>
<p><code>print do_something()</code></p>
<p>?  It seems to me that it&#8217;s not so much about scope as it is that in the first example, the <code>do_something()</code> function just never gets called.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nat</title>
		<link>http://www.zerbie.com/2008/04/03/gimme-that-returned-thing/#comment-12</link>
		<dc:creator>nat</dc:creator>
		<pubDate>Fri, 04 Apr 2008 18:18:18 +0000</pubDate>
		<guid>http://www.zerbie.com/2008/04/03/gimme-that-returned-thing/#comment-12</guid>
		<description>Pam,
naw, I didn't mean it in any practical sense.  It was just an existential musing of sorts -- life, the universe and everything, if you will.  I'm not even suggesting that the compartmentalized, strict paradigm of namespace and scope that I've experienced isn't a good thing, I'm just wondering if it's possible for it to be any other way.

I think the idea was somewhat more half-baked than you might be giving me credit for.</description>
		<content:encoded><![CDATA[<p>Pam,<br />
naw, I didn&#8217;t mean it in any practical sense.  It was just an existential musing of sorts &#8212; life, the universe and everything, if you will.  I&#8217;m not even suggesting that the compartmentalized, strict paradigm of namespace and scope that I&#8217;ve experienced isn&#8217;t a good thing, I&#8217;m just wondering if it&#8217;s possible for it to be any other way.</p>
<p>I think the idea was somewhat more half-baked than you might be giving me credit for.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Hummer</title>
		<link>http://www.zerbie.com/2008/04/03/gimme-that-returned-thing/#comment-10</link>
		<dc:creator>Paul Hummer</dc:creator>
		<pubDate>Fri, 04 Apr 2008 17:00:14 +0000</pubDate>
		<guid>http://www.zerbie.com/2008/04/03/gimme-that-returned-thing/#comment-10</guid>
		<description>Pam-

  Variable scope was a hard thing for me to grasp when I first started programming.  When I started working in PHP, it made things worse...  :)  It's a difficult thing to explain to someone with very little programming experience, but a very valuable thing to understand, especially when you have a great language like python.

Paul</description>
		<content:encoded><![CDATA[<p>Pam-</p>
<p>  Variable scope was a hard thing for me to grasp when I first started programming.  When I started working in PHP, it made things worse&#8230;  <img src='http://www.zerbie.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  It&#8217;s a difficult thing to explain to someone with very little programming experience, but a very valuable thing to understand, especially when you have a great language like python.</p>
<p>Paul</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pam</title>
		<link>http://www.zerbie.com/2008/04/03/gimme-that-returned-thing/#comment-9</link>
		<dc:creator>pam</dc:creator>
		<pubDate>Fri, 04 Apr 2008 15:44:44 +0000</pubDate>
		<guid>http://www.zerbie.com/2008/04/03/gimme-that-returned-thing/#comment-9</guid>
		<description>Do you mean, like, just declaring something to be global? Totally doable, but I feel our esteemed colleagues sending lightning bolts into my brain every time I even think about it. 

(That said, I'm sure there are good reasons to do it on occasion, but my usual reason would be, "I can't figure out a better way," which is not good enough.)</description>
		<content:encoded><![CDATA[<p>Do you mean, like, just declaring something to be global? Totally doable, but I feel our esteemed colleagues sending lightning bolts into my brain every time I even think about it. </p>
<p>(That said, I&#8217;m sure there are good reasons to do it on occasion, but my usual reason would be, &#8220;I can&#8217;t figure out a better way,&#8221; which is not good enough.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nat</title>
		<link>http://www.zerbie.com/2008/04/03/gimme-that-returned-thing/#comment-6</link>
		<dc:creator>nat</dc:creator>
		<pubDate>Fri, 04 Apr 2008 15:12:56 +0000</pubDate>
		<guid>http://www.zerbie.com/2008/04/03/gimme-that-returned-thing/#comment-6</guid>
		<description>This actually prompted sort of an interesting thought yesterday.  Could you (would you/should you?) have some kind of operator (I don't mean in Python, just in general) that essentially popped a variable back up into the higher namespace?  All of the languages I've used have been pretty strict about scope, I don't know if there are others that play things a little looser.  Could you have a language without return values at all?  hmm, I think I need my own blog...</description>
		<content:encoded><![CDATA[<p>This actually prompted sort of an interesting thought yesterday.  Could you (would you/should you?) have some kind of operator (I don&#8217;t mean in Python, just in general) that essentially popped a variable back up into the higher namespace?  All of the languages I&#8217;ve used have been pretty strict about scope, I don&#8217;t know if there are others that play things a little looser.  Could you have a language without return values at all?  hmm, I think I need my own blog&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
