<?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: Look ma, no callbacks!</title>
	<atom:link href="http://blog.tupil.com/look-ma-no-callbacks/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.tupil.com/look-ma-no-callbacks/</link>
	<description>(Get up early, code often)</description>
	<lastBuildDate>Mon, 08 Feb 2010 22:03:01 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Introducing Path Projection and Arrowlets (and me) &#171; Khoo Yit Phang</title>
		<link>http://blog.tupil.com/look-ma-no-callbacks/comment-page-1/#comment-1199</link>
		<dc:creator>Introducing Path Projection and Arrowlets (and me) &#171; Khoo Yit Phang</dc:creator>
		<pubDate>Thu, 16 Oct 2008 19:57:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tupil.com/?p=27#comment-1199</guid>
		<description>[...] should thank Chris Eidhof and Adam Turoff for blogging about [...]</description>
		<content:encoded><![CDATA[<p>[...] should thank Chris Eidhof and Adam Turoff for blogging about [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Eidhof</title>
		<link>http://blog.tupil.com/look-ma-no-callbacks/comment-page-1/#comment-306</link>
		<dc:creator>Chris Eidhof</dc:creator>
		<pubDate>Thu, 28 Aug 2008 22:22:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tupil.com/?p=27#comment-306</guid>
		<description>Reinier, you are completely right ;). It normally just takes some time before these theoretical things get a nice practical application.

movePaddle and moveBall are callbacks, but they&#039;re not really explicit as they are with raw event handling. You don&#039;t have to build all kinds of closures and such, but you&#039;re completely right: in the end, you could definitely call them callbacks. Thanks for keeping us sharp!</description>
		<content:encoded><![CDATA[<p>Reinier, you are completely right ;). It normally just takes some time before these theoretical things get a nice practical application.</p>
<p>movePaddle and moveBall are callbacks, but they&#8217;re not really explicit as they are with raw event handling. You don&#8217;t have to build all kinds of closures and such, but you&#8217;re completely right: in the end, you could definitely call them callbacks. Thanks for keeping us sharp!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reinier Lamers</title>
		<link>http://blog.tupil.com/look-ma-no-callbacks/comment-page-1/#comment-301</link>
		<dc:creator>Reinier Lamers</dc:creator>
		<pubDate>Thu, 28 Aug 2008 11:52:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tupil.com/?p=27#comment-301</guid>
		<description>I always thought of arrows as something for people who write academic papers and not programs. 

And in what way are movePaddle and moveBall not callbacks?</description>
		<content:encoded><![CDATA[<p>I always thought of arrows as something for people who write academic papers and not programs. </p>
<p>And in what way are movePaddle and moveBall not callbacks?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Artyom Shalkhakov</title>
		<link>http://blog.tupil.com/look-ma-no-callbacks/comment-page-1/#comment-280</link>
		<dc:creator>Artyom Shalkhakov</dc:creator>
		<pubDate>Tue, 26 Aug 2008 11:36:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tupil.com/?p=27#comment-280</guid>
		<description>This is pretty cool.

It surely blows jQuery&#039;s/Ext&#039;s/etc. pants off. :)</description>
		<content:encoded><![CDATA[<p>This is pretty cool.</p>
<p>It surely blows jQuery&#8217;s/Ext&#8217;s/etc. pants off. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: René Ghosh</title>
		<link>http://blog.tupil.com/look-ma-no-callbacks/comment-page-1/#comment-278</link>
		<dc:creator>René Ghosh</dc:creator>
		<pubDate>Tue, 26 Aug 2008 08:24:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tupil.com/?p=27#comment-278</guid>
		<description>Excellent little introduction to arrows! Nothing makes things understandable like a good example, and this one is succinct and striking.</description>
		<content:encoded><![CDATA[<p>Excellent little introduction to arrows! Nothing makes things understandable like a good example, and this one is succinct and striking.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sjoerd Visscher</title>
		<link>http://blog.tupil.com/look-ma-no-callbacks/comment-page-1/#comment-274</link>
		<dc:creator>Sjoerd Visscher</dc:creator>
		<pubDate>Mon, 25 Aug 2008 22:51:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tupil.com/?p=27#comment-274</guid>
		<description>Cool stuff. Always nice to do Haskell in JS!

If I remember correctly Safari reserves the keypress event for text input, just like IE. Simply use the keydown event, it repeats as well.

Or, even better from gameplay point of view, use keydown and keyup to move the paddle while a key is down. Then you won&#039;t depend on the key repeat settings of the user.

Is there something like until?

&lt;pre&gt;
ElementA(document).next(EventA(&#039;keydown&#039;))
.next(movePaddle.repeat)
.until(EventA(&#039;keyup&#039;))
.next(Repeat).repeat()
.run();
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Cool stuff. Always nice to do Haskell in JS!</p>
<p>If I remember correctly Safari reserves the keypress event for text input, just like IE. Simply use the keydown event, it repeats as well.</p>
<p>Or, even better from gameplay point of view, use keydown and keyup to move the paddle while a key is down. Then you won&#8217;t depend on the key repeat settings of the user.</p>
<p>Is there something like until?</p>
<pre>
ElementA(document).next(EventA('keydown'))
.next(movePaddle.repeat)
.until(EventA('keyup'))
.next(Repeat).repeat()
.run();
</pre>
]]></content:encoded>
	</item>
</channel>
</rss>
