<?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: Aren&#8217;t django signals a little like comefrom?</title>
	<atom:link href="http://uswaretech.com/blog/2009/07/arent-django-signals-a-little-like-comefrom/feed/" rel="self" type="application/rss+xml" />
	<link>http://uswaretech.com/blog/2009/07/arent-django-signals-a-little-like-comefrom/</link>
	<description>Building Amazing Webapps</description>
	<lastBuildDate>Tue, 07 Sep 2010 19:52:48 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Kelvin71</title>
		<link>http://uswaretech.com/blog/2009/07/arent-django-signals-a-little-like-comefrom/comment-page-1/#comment-2831</link>
		<dc:creator>Kelvin71</dc:creator>
		<pubDate>Fri, 23 Oct 2009 02:08:56 +0000</pubDate>
		<guid isPermaLink="false">http://uswaretech.com/blog/?p=642#comment-2831</guid>
		<description>&lt;p&gt;Ask yourself these seven questions to determine what type of learner you are:   If you would choose to read about it you are more of a visual learner, if you would prefer to hear about it you are a more auditory learner and if you would like to try it yourself you are more of a tactile learner. ,&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Ask yourself these seven questions to determine what type of learner you are:   If you would choose to read about it you are more of a visual learner, if you would prefer to hear about it you are a more auditory learner and if you would like to try it yourself you are more of a tactile learner. ,</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Gonzalo Delgado</title>
		<link>http://uswaretech.com/blog/2009/07/arent-django-signals-a-little-like-comefrom/comment-page-1/#comment-1972</link>
		<dc:creator>Gonzalo Delgado</dc:creator>
		<pubDate>Mon, 20 Jul 2009 02:20:17 +0000</pubDate>
		<guid isPermaLink="false">http://uswaretech.com/blog/?p=642#comment-1972</guid>
		<description>&lt;p&gt;So you&#039;re saying the &lt;a href=&quot;http://en.wikipedia.org/wiki/Observer_pattern&quot; rel=&quot;nofollow&quot;&gt;observer pattern&lt;/a&gt; is a bit like comefrom.. interesting.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>So you&#8217;re saying the <a href="http://en.wikipedia.org/wiki/Observer_pattern" rel="nofollow">observer pattern</a> is a bit like comefrom.. interesting.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: 悉尼</title>
		<link>http://uswaretech.com/blog/2009/07/arent-django-signals-a-little-like-comefrom/comment-page-1/#comment-1971</link>
		<dc:creator>悉尼</dc:creator>
		<pubDate>Mon, 20 Jul 2009 01:56:28 +0000</pubDate>
		<guid isPermaLink="false">http://uswaretech.com/blog/?p=642#comment-1971</guid>
		<description>&lt;p&gt;yes, it&#039;s a little bit like comefrom...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>yes, it&#8217;s a little bit like comefrom&#8230;</p>]]></content:encoded>
	</item>
	<item>
		<title>By: bill jones</title>
		<link>http://uswaretech.com/blog/2009/07/arent-django-signals-a-little-like-comefrom/comment-page-1/#comment-1970</link>
		<dc:creator>bill jones</dc:creator>
		<pubDate>Sun, 19 Jul 2009 22:26:24 +0000</pubDate>
		<guid isPermaLink="false">http://uswaretech.com/blog/?p=642#comment-1970</guid>
		<description>&lt;p&gt;The similarity is superficial.&lt;/p&gt;

&lt;p&gt;COMEFROM (and GOTO) are both static - in that they are defined when the code is written and cannot be changed at runtime. Signal-based connections can be created or removed at runtime.&lt;/p&gt;

&lt;p&gt;Any number of signal handlers can respond to a single event, whereas COMEFROM/GOTO only transfer control flow from point A to point B (not B1, B2... Bn).&lt;/p&gt;

&lt;p&gt;Also, I&#039;m pretty sure your COMEFROM based translation of the signal example could not possibly work. For example, what&#039;s the actual entry point to the &#039;handle_num_comments&#039; function? The fact that you can&#039;t create a corresponding example (that actually works) kind of proves the point that these structures are not equivalent.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>The similarity is superficial.</p>

<p>COMEFROM (and GOTO) are both static &#8211; in that they are defined when the code is written and cannot be changed at runtime. Signal-based connections can be created or removed at runtime.</p>

<p>Any number of signal handlers can respond to a single event, whereas COMEFROM/GOTO only transfer control flow from point A to point B (not B1, B2&#8230; Bn).</p>

<p>Also, I&#8217;m pretty sure your COMEFROM based translation of the signal example could not possibly work. For example, what&#8217;s the actual entry point to the &#8216;handle_num_comments&#8217; function? The fact that you can&#8217;t create a corresponding example (that actually works) kind of proves the point that these structures are not equivalent.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Max Battcher</title>
		<link>http://uswaretech.com/blog/2009/07/arent-django-signals-a-little-like-comefrom/comment-page-1/#comment-1969</link>
		<dc:creator>Max Battcher</dc:creator>
		<pubDate>Sun, 19 Jul 2009 21:57:27 +0000</pubDate>
		<guid isPermaLink="false">http://uswaretech.com/blog/?p=642#comment-1969</guid>
		<description>&lt;p&gt;Although &quot;GOTO is considered harmful&quot;, no one has proven that COMEFROM is harmful. In the case of INTERCAL, COMEFROM is a nightmare because it is the only real flow-control mechanism in the language and requires some mind-bending to actually accomplish more straightforward patterns. Django signals doesn&#039;t suffer from the same problems as COMEFROM, because ultimately it is not the only flow-control mechanism in Django/Python. Signals are merely a nice aspect-oriented/event-oriented support tool that is one in a large bag of useful tools.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Although &#8220;GOTO is considered harmful&#8221;, no one has proven that COMEFROM is harmful. In the case of INTERCAL, COMEFROM is a nightmare because it is the only real flow-control mechanism in the language and requires some mind-bending to actually accomplish more straightforward patterns. Django signals doesn&#8217;t suffer from the same problems as COMEFROM, because ultimately it is not the only flow-control mechanism in Django/Python. Signals are merely a nice aspect-oriented/event-oriented support tool that is one in a large bag of useful tools.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Douglas</title>
		<link>http://uswaretech.com/blog/2009/07/arent-django-signals-a-little-like-comefrom/comment-page-1/#comment-1967</link>
		<dc:creator>Douglas</dc:creator>
		<pubDate>Sun, 19 Jul 2009 13:33:01 +0000</pubDate>
		<guid isPermaLink="false">http://uswaretech.com/blog/?p=642#comment-1967</guid>
		<description>&lt;p&gt;The difference between COMEFROM and event handling/post_save, is that control does not return back to the label after COMFROM.&lt;/p&gt;

&lt;p&gt;Example:
&lt;code&gt;
register_post_save_handler();
save();
// handler called here
now_this_is_called();
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;
register_COMEFROM_post_save();
save();
// handler called here
this_may_not_get_called,_call_stack_gone();
&lt;/code&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>The difference between COMEFROM and event handling/post_save, is that control does not return back to the label after COMFROM.</p>

<p>Example:
<code>
register_post_save_handler();
save();
// handler called here
now_this_is_called();
</code></p>

<p><code>
register_COMEFROM_post_save();
save();
// handler called here
this_may_not_get_called,_call_stack_gone();
</code></p>]]></content:encoded>
	</item>
	<item>
		<title>By: K</title>
		<link>http://uswaretech.com/blog/2009/07/arent-django-signals-a-little-like-comefrom/comment-page-1/#comment-1966</link>
		<dc:creator>K</dc:creator>
		<pubDate>Sun, 19 Jul 2009 09:09:51 +0000</pubDate>
		<guid isPermaLink="false">http://uswaretech.com/blog/?p=642#comment-1966</guid>
		<description>&lt;p&gt;I haven&#039;t looked at Django, but it seems like basic event handling to me. If so, you could say that all event handling is a lot like COMEFROM :-)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I haven&#8217;t looked at Django, but it seems like basic event handling to me. If so, you could say that all event handling is a lot like COMEFROM <img src='http://uswaretech.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>]]></content:encoded>
	</item>
	<item>
		<title>By: mjc</title>
		<link>http://uswaretech.com/blog/2009/07/arent-django-signals-a-little-like-comefrom/comment-page-1/#comment-1965</link>
		<dc:creator>mjc</dc:creator>
		<pubDate>Sun, 19 Jul 2009 05:11:30 +0000</pubDate>
		<guid isPermaLink="false">http://uswaretech.com/blog/?p=642#comment-1965</guid>
		<description>&lt;p&gt;I remember in the 70&#039;s studying the semantics of programming languages and coming across this definition of the semantics of a label:
The condition true at a label is the union (logical or) of all the conditions true at the places where the next statement (via goto or falling through) is the label.
This seemed (1) true after it is pointed out, and (2) a lot like the COMEFROM.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I remember in the 70&#8242;s studying the semantics of programming languages and coming across this definition of the semantics of a label:
The condition true at a label is the union (logical or) of all the conditions true at the places where the next statement (via goto or falling through) is the label.
This seemed (1) true after it is pointed out, and (2) a lot like the COMEFROM.</p>]]></content:encoded>
	</item>
</channel>
</rss>
