<?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 for Pre-Thought Listen</title>
	<atom:link href="http://journal.ryanmccue.info/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://journal.ryanmccue.info</link>
	<description>The personal weblog of Ryan McCue.</description>
	<lastBuildDate>Thu, 19 Jan 2012 01:08:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Explicit Versus Implict Coding by Mike Schinkel</title>
		<link>http://journal.ryanmccue.info/139/explicit-versus-implict-coding/comment-page-1/#comment-1112</link>
		<dc:creator>Mike Schinkel</dc:creator>
		<pubDate>Thu, 19 Jan 2012 01:08:49 +0000</pubDate>
		<guid isPermaLink="false">http://journal.ryanmccue.info/?p=139#comment-1112</guid>
		<description>Regarding &quot;filter_x&quot; I think you misunderstand what issue I was identifying to. Consider that I might be writing a function that I did not want nor intend to be called as a hook, and I called it &quot;filter_admin_menu.&quot;  But even if you don&#039;t think that&#039;s an issue Gary Jone mentioned on your fork at Gist that the real problem is when someone else adds a hook that starts with &quot;action_&quot; or &quot;filter_&quot;, especially in another plugin.  All in all, the prefix convention just has too many issues.

Also on your fork Rarst mentioned that using PHPDoc is unfortunately problematic with respect to opcode caches that might throw out the comments. I&#039;m currently considering that we might be able to use &quot;reserved name&quot; constants instead of PHPDoc tags. It would be a bit less elegant but it would be more reliable.</description>
		<content:encoded><![CDATA[<p>Regarding &#8220;filter_x&#8221; I think you misunderstand what issue I was identifying to. Consider that I might be writing a function that I did not want nor intend to be called as a hook, and I called it &#8220;filter_admin_menu.&#8221;  But even if you don&#8217;t think that&#8217;s an issue Gary Jone mentioned on your fork at Gist that the real problem is when someone else adds a hook that starts with &#8220;action_&#8221; or &#8220;filter_&#8221;, especially in another plugin.  All in all, the prefix convention just has too many issues.</p>
<p>Also on your fork Rarst mentioned that using PHPDoc is unfortunately problematic with respect to opcode caches that might throw out the comments. I&#8217;m currently considering that we might be able to use &#8220;reserved name&#8221; constants instead of PHPDoc tags. It would be a bit less elegant but it would be more reliable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Explicit Versus Implict Coding by rmccue</title>
		<link>http://journal.ryanmccue.info/139/explicit-versus-implict-coding/comment-page-1/#comment-1111</link>
		<dc:creator>rmccue</dc:creator>
		<pubDate>Wed, 18 Jan 2012 09:54:03 +0000</pubDate>
		<guid isPermaLink="false">http://journal.ryanmccue.info/?p=139#comment-1111</guid>
		<description>Huh! I swear it did last time I checked it. Stupid eyes. 
 
Forgetting to include the prefix gives immediate results: nothing happens. Forgetting to specify nohook, on the other hand, can give weird bugs which might not be readily apparent. 
 
In addition, if you are writing &quot;filter_x&quot;, you&#039;d be looking at the source to see whether it&#039;s an action or a filter anyway, so I don&#039;t see that as a problem. 
 
It&#039;s the opposite of a magical convention, specifically because you are writing exactly what you want filtered. </description>
		<content:encoded><![CDATA[<p>Huh! I swear it did last time I checked it. Stupid eyes. </p>
<p>Forgetting to include the prefix gives immediate results: nothing happens. Forgetting to specify nohook, on the other hand, can give weird bugs which might not be readily apparent. </p>
<p>In addition, if you are writing &quot;filter_x&quot;, you&#039;d be looking at the source to see whether it&#039;s an action or a filter anyway, so I don&#039;t see that as a problem. </p>
<p>It&#039;s the opposite of a magical convention, specifically because you are writing exactly what you want filtered.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Explicit Versus Implict Coding by mikeschinkel</title>
		<link>http://journal.ryanmccue.info/139/explicit-versus-implict-coding/comment-page-1/#comment-1110</link>
		<dc:creator>mikeschinkel</dc:creator>
		<pubDate>Wed, 18 Jan 2012 08:48:01 +0000</pubDate>
		<guid isPermaLink="false">http://journal.ryanmccue.info/?p=139#comment-1110</guid>
		<description>When did I say &quot;default to implicit?&quot; Read the code:  &lt;a href=&quot;https://gist.github.com/1630212&quot; rel=&quot;nofollow&quot;&gt;https://gist.github.com/1630212&lt;/a&gt;  :-) 
 
The problem with &quot;action_&quot; and &quot;filter_&quot; is that from experience trying to use the convention 1.) it&#039;s easy to forget to include the prefix and 2.) it&#039;s ambiguous because I might write a function &quot;filter_xxxx&quot; intending to filter &quot;xxx&quot; and find out there is an action called &quot;xxx&quot;, i.e. &quot;filter_admin_menu.&quot;   
 
I see it as a &quot;magical&quot; convention, which is what you were arguing against. </description>
		<content:encoded><![CDATA[<p>When did I say &quot;default to implicit?&quot; Read the code:  <a href="https://gist.github.com/1630212" rel="nofollow">https://gist.github.com/1630212</a>  <img src='http://journal.ryanmccue.info/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  </p>
<p>The problem with &quot;action_&quot; and &quot;filter_&quot; is that from experience trying to use the convention 1.) it&#039;s easy to forget to include the prefix and 2.) it&#039;s ambiguous because I might write a function &quot;filter_xxxx&quot; intending to filter &quot;xxx&quot; and find out there is an action called &quot;xxx&quot;, i.e. &quot;filter_admin_menu.&quot;   </p>
<p>I see it as a &quot;magical&quot; convention, which is what you were arguing against.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Explicit Versus Implict Coding by rmccue</title>
		<link>http://journal.ryanmccue.info/139/explicit-versus-implict-coding/comment-page-1/#comment-1109</link>
		<dc:creator>rmccue</dc:creator>
		<pubDate>Wed, 18 Jan 2012 08:38:57 +0000</pubDate>
		<guid isPermaLink="false">http://journal.ryanmccue.info/?p=139#comment-1109</guid>
		<description>Defaulting to implicit is IMHO a bad idea. If you are going to support implicit hooking, I think explicit should still be the default. Apologies for misrepresenting your position though, I&#039;ve added a footnote.  
  
As I said, I&#039;m not against magic, but I think it should be explicit.  
  
Regarding prefixing with `action_` or `filter_`, what problems do you forsee regarding that? </description>
		<content:encoded><![CDATA[<p>Defaulting to implicit is IMHO a bad idea. If you are going to support implicit hooking, I think explicit should still be the default. Apologies for misrepresenting your position though, I&#039;ve added a footnote.  </p>
<p>As I said, I&#039;m not against magic, but I think it should be explicit.  </p>
<p>Regarding prefixing with `action_` or `filter_`, what problems do you forsee regarding that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Explicit Versus Implict Coding by mikeschinkel</title>
		<link>http://journal.ryanmccue.info/139/explicit-versus-implict-coding/comment-page-1/#comment-1108</link>
		<dc:creator>mikeschinkel</dc:creator>
		<pubDate>Wed, 18 Jan 2012 08:31:51 +0000</pubDate>
		<guid isPermaLink="false">http://journal.ryanmccue.info/?p=139#comment-1108</guid>
		<description>Nice post Ryan and thanks for the reference. 
 
However, you have some nuances regarding my opinion mis-stated.  I think implicit is good for certain use-case such as for rapid prototyping for internally used method. But I think explicit is better for code you plan to publish and you suggest I&#039;m only proposing implicit. 
 
If you look at my examples you&#039;ll see it supports a &quot;@wp-autohook explicit&quot; for eliminating all &quot;magic.&quot; When explicit is set then it requires the the methods have @wp-action or @wp-filter tags.  What my main issue was with using naming prefixes for hooks like &quot;action_init&quot; and &quot;filter_the_content&quot;; I think that&#039;s a hack and can potentially cause problems.  
 
So to clarify my opinion it is &quot;If you want it explicit then use @wp-action or @wp-filter tags.&quot; </description>
		<content:encoded><![CDATA[<p>Nice post Ryan and thanks for the reference. </p>
<p>However, you have some nuances regarding my opinion mis-stated.  I think implicit is good for certain use-case such as for rapid prototyping for internally used method. But I think explicit is better for code you plan to publish and you suggest I&#039;m only proposing implicit. </p>
<p>If you look at my examples you&#039;ll see it supports a &quot;@wp-autohook explicit&quot; for eliminating all &quot;magic.&quot; When explicit is set then it requires the the methods have @wp-action or @wp-filter tags.  What my main issue was with using naming prefixes for hooks like &quot;action_init&quot; and &quot;filter_the_content&quot;; I think that&#039;s a hack and can potentially cause problems.  </p>
<p>So to clarify my opinion it is &quot;If you want it explicit then use @wp-action or @wp-filter tags.&quot;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Explicit Versus Implict Coding by rmccue</title>
		<link>http://journal.ryanmccue.info/139/explicit-versus-implict-coding/comment-page-1/#comment-1107</link>
		<dc:creator>rmccue</dc:creator>
		<pubDate>Wed, 18 Jan 2012 08:30:54 +0000</pubDate>
		<guid isPermaLink="false">http://journal.ryanmccue.info/?p=139#comment-1107</guid>
		<description>Ah, didn&#039;t realise that. Updated the post. </description>
		<content:encoded><![CDATA[<p>Ah, didn&#039;t realise that. Updated the post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Explicit Versus Implict Coding by Thomas Scholz</title>
		<link>http://journal.ryanmccue.info/139/explicit-versus-implict-coding/comment-page-1/#comment-1106</link>
		<dc:creator>Thomas Scholz</dc:creator>
		<pubDate>Wed, 18 Jan 2012 08:27:38 +0000</pubDate>
		<guid isPermaLink="false">http://journal.ryanmccue.info/?p=139#comment-1106</guid>
		<description>I dropped the priority-in-function-name idea really fast. Yes, it was bad. 
My current implementation &lt;a href=&quot;https://gist.github.com/1631723&quot; rel=&quot;nofollow&quot;&gt;https://gist.github.com/1631723&lt;/a&gt; works with PHPDoc only. </description>
		<content:encoded><![CDATA[<p>I dropped the priority-in-function-name idea really fast. Yes, it was bad.<br />
My current implementation <a href="https://gist.github.com/1631723" rel="nofollow">https://gist.github.com/1631723</a> works with PHPDoc only.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ExtraLives&#8217; 64 Hours of Nintendo 64 by gaming desktops</title>
		<link>http://journal.ryanmccue.info/link/extralives-64-hours-of-nintendo-64/comment-page-1/#comment-955</link>
		<dc:creator>gaming desktops</dc:creator>
		<pubDate>Wed, 24 Aug 2011 15:26:43 +0000</pubDate>
		<guid isPermaLink="false">http://journal.ryanmccue.info/?p=87#comment-955</guid>
		<description>Very cool. Would have liked to be part of it. So it&#039;s non-stop?  </description>
		<content:encoded><![CDATA[<p>Very cool. Would have liked to be part of it. So it&#039;s non-stop?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on What&#8217;s Up? by Tweets that mention What’s Up? — Pre-Thought Listen -- Topsy.com</title>
		<link>http://journal.ryanmccue.info/123/whats-up/comment-page-1/#comment-612</link>
		<dc:creator>Tweets that mention What’s Up? — Pre-Thought Listen -- Topsy.com</dc:creator>
		<pubDate>Thu, 27 Jan 2011 11:59:57 +0000</pubDate>
		<guid isPermaLink="false">http://journal.ryanmccue.info/?p=123#comment-612</guid>
		<description>[...] This post was mentioned on Twitter by Ryan McCue, Anthony Cole. Anthony Cole said: RT @rmccue: From my Blog: What’s Up? http://bit.ly/gtacze [...]</description>
		<content:encoded><![CDATA[<p>[...] This post was mentioned on Twitter by Ryan McCue, Anthony Cole. Anthony Cole said: RT @rmccue: From my Blog: What’s Up? <a href="http://bit.ly/gtacze" rel="nofollow">http://bit.ly/gtacze</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on On the Lack of Posting&#8230; by rmccue</title>
		<link>http://journal.ryanmccue.info/111/on-the-lack-of-posting/comment-page-1/#comment-211</link>
		<dc:creator>rmccue</dc:creator>
		<pubDate>Sat, 21 Aug 2010 12:06:54 +0000</pubDate>
		<guid isPermaLink="false">http://journal.ryanmccue.info/111/on-the-lack-of-posting/#comment-211</guid>
		<description>I already use WordPress for iPhone. :P </description>
		<content:encoded><![CDATA[<p>I already use WordPress for iPhone. <img src='http://journal.ryanmccue.info/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

