<?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"
	>
<channel>
	<title>Comments on: WordPress code quality</title>
	<atom:link href="http://mgeisler.net/2005/05/wordpress-code-quality/feed/" rel="self" type="application/rss+xml" />
	<link>http://mgeisler.net/2005/05/wordpress-code-quality/</link>
	<description>Adventures with Computers</description>
	<pubDate>Thu, 21 Aug 2008 18:09:33 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6-bleeding</generator>
		<item>
		<title>By: Joseph Scott&#8217;s Blog &#187; You Don&#8217;t Have To Be Pretty To Be Successful</title>
		<link>http://mgeisler.net/2005/05/wordpress-code-quality/#comment-292</link>
		<dc:creator>Joseph Scott&#8217;s Blog &#187; You Don&#8217;t Have To Be Pretty To Be Successful</dc:creator>
		<pubDate>Mon, 06 Jun 2005 17:44:23 +0000</pubDate>
		<guid isPermaLink="false">http://mgeisler.net/2005/05/22/wordpress-code-quality/#comment-292</guid>
		<description>&lt;p&gt;[...]  hundreds of defined functions.  I&#8217;m certainly not the only one to write about this, Martin Geisler posted a list recently.     Martin mentions things like excessive use of globa [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...]  hundreds of defined functions.  I&#8217;m certainly not the only one to write about this, Martin Geisler posted a list recently.     Martin mentions things like excessive use of globa [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LightPress &#187; WordPress is fast, MySQL is slow? FUD at work</title>
		<link>http://mgeisler.net/2005/05/wordpress-code-quality/#comment-276</link>
		<dc:creator>LightPress &#187; WordPress is fast, MySQL is slow? FUD at work</dc:creator>
		<pubDate>Thu, 02 Jun 2005 10:38:15 +0000</pubDate>
		<guid isPermaLink="false">http://mgeisler.net/2005/05/22/wordpress-code-quality/#comment-276</guid>
		<description>&lt;p&gt;[...] ce of technology and a very fast database, the same cannot be said for WP's code (see also this), db design and queries. For simple things (INSERTS and SELECTS) MySQL often beats th [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] ce of technology and a very fast database, the same cannot be said for WP&#8217;s code (see also this), db design and queries. For simple things (INSERTS and SELECTS) MySQL often beats th [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Geisler</title>
		<link>http://mgeisler.net/2005/05/wordpress-code-quality/#comment-261</link>
		<dc:creator>Martin Geisler</dc:creator>
		<pubDate>Sun, 29 May 2005 13:27:38 +0000</pubDate>
		<guid isPermaLink="false">http://mgeisler.net/2005/05/22/wordpress-code-quality/#comment-261</guid>
		<description>&lt;p&gt;I think you're right about WordPress needing some refactoring and rewriting.  When I brought my complains to the mailinglist I was &lt;a href="http://textdrive.com/pipermail/wp-hackers/2005-May/001114.html"&gt;told by Matt&lt;/a&gt; that the code base was very mature because of their old roots in b2.&lt;/p&gt;

&lt;p&gt;Having old roots might make the code seem mature, but for me mature code also has to be well documented, something which the WordPress code cannot claim to be.&lt;/p&gt;

&lt;p&gt;I have not yet tried &lt;a href="http://lightpress.org/"&gt;LightPress&lt;/a&gt;, but maybe I will.  Since it runs on top of WordPress I imagine that switching will be easy.  Thanks for the tip.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I think you&#8217;re right about WordPress needing some refactoring and rewriting.  When I brought my complains to the mailinglist I was <a href="http://textdrive.com/pipermail/wp-hackers/2005-May/001114.html">told by Matt</a> that the code base was very mature because of their old roots in b2.</p>
<p>Having old roots might make the code seem mature, but for me mature code also has to be well documented, something which the WordPress code cannot claim to be.</p>
<p>I have not yet tried <a href="http://lightpress.org/">LightPress</a>, but maybe I will.  Since it runs on top of WordPress I imagine that switching will be easy.  Thanks for the tip.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sencer</title>
		<link>http://mgeisler.net/2005/05/wordpress-code-quality/#comment-260</link>
		<dc:creator>Sencer</dc:creator>
		<pubDate>Sun, 29 May 2005 10:13:17 +0000</pubDate>
		<guid isPermaLink="false">http://mgeisler.net/2005/05/22/wordpress-code-quality/#comment-260</guid>
		<description>&lt;p&gt;Hi Martin,&lt;/p&gt;

&lt;p&gt;I can understand very well what you are trying to say. Most of it results from the fact, that Wordpress grew out of b2, which had the same problems. But a few years back and with a lot smaller code base that was (a little) less of a problem. I don't think it's possible to change the minds of the many people that are comfortable with the code, because they have gotten used to it. Refactoring that mess is a major, major task.&lt;/p&gt;

&lt;p&gt;A rewrite would likely be faster (but of course has its' own problems). However that would probably not fair well with users, because it could break many plugins, one of the major advantages of WP wrt to other blogsoftware. (There is a lightpress project which basically tries to do just that, my first impressions have been quite positive). I am afraid this is a take it or leave situation, I left it (b2 that is) and went to Textpattern, which also has little to no documentation in the code, but has a lot less dependencies, less global variables, and generally more readable code (IMHO).&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Martin,</p>
<p>I can understand very well what you are trying to say. Most of it results from the fact, that Wordpress grew out of b2, which had the same problems. But a few years back and with a lot smaller code base that was (a little) less of a problem. I don&#8217;t think it&#8217;s possible to change the minds of the many people that are comfortable with the code, because they have gotten used to it. Refactoring that mess is a major, major task.</p>
<p>A rewrite would likely be faster (but of course has its&#8217; own problems). However that would probably not fair well with users, because it could break many plugins, one of the major advantages of WP wrt to other blogsoftware. (There is a lightpress project which basically tries to do just that, my first impressions have been quite positive). I am afraid this is a take it or leave situation, I left it (b2 that is) and went to Textpattern, which also has little to no documentation in the code, but has a lot less dependencies, less global variables, and generally more readable code (IMHO).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Asymptomatic  &#187; Blog Archive   &#187; In Defense&#8230;</title>
		<link>http://mgeisler.net/2005/05/wordpress-code-quality/#comment-253</link>
		<dc:creator>Asymptomatic  &#187; Blog Archive   &#187; In Defense&#8230;</dc:creator>
		<pubDate>Tue, 24 May 2005 01:19:30 +0000</pubDate>
		<guid isPermaLink="false">http://mgeisler.net/2005/05/22/wordpress-code-quality/#comment-253</guid>
		<description>&lt;p&gt;[...] g about something in general terms which you don&#8217;t seem to have specific knowledge.  Martin Geisler wrote an incendiary post about the WordPress codebase, and while I will adm [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] g about something in general terms which you don&#8217;t seem to have specific knowledge.  Martin Geisler wrote an incendiary post about the WordPress codebase, and while I will adm [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Geisler</title>
		<link>http://mgeisler.net/2005/05/wordpress-code-quality/#comment-248</link>
		<dc:creator>Martin Geisler</dc:creator>
		<pubDate>Mon, 23 May 2005 14:20:58 +0000</pubDate>
		<guid isPermaLink="false">http://mgeisler.net/2005/05/22/wordpress-code-quality/#comment-248</guid>
		<description>&lt;p&gt;It works now!  Thanks Denis for pointing me to your fix!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>It works now!  Thanks Denis for pointing me to your fix!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Geisler</title>
		<link>http://mgeisler.net/2005/05/wordpress-code-quality/#comment-247</link>
		<dc:creator>Martin Geisler</dc:creator>
		<pubDate>Mon, 23 May 2005 14:19:48 +0000</pubDate>
		<guid isPermaLink="false">http://mgeisler.net/2005/05/22/wordpress-code-quality/#comment-247</guid>
		<description>&lt;p&gt;Aha --- I had found your fix, but I missed the fine print saying that it is still needed with the latest version of [Markdown][].  Thanks!&lt;/p&gt;

&lt;p&gt;(A small test, this should become a separate paragraph.)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Aha &#8212; I had found your fix, but I missed the fine print saying that it is still needed with the latest version of [Markdown][].  Thanks!</p>
<p>(A small test, this should become a separate paragraph.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Denis de Bernardy</title>
		<link>http://mgeisler.net/2005/05/wordpress-code-quality/#comment-246</link>
		<dc:creator>Denis de Bernardy</dc:creator>
		<pubDate>Mon, 23 May 2005 13:24:11 +0000</pubDate>
		<guid isPermaLink="false">http://mgeisler.net/2005/05/22/wordpress-code-quality/#comment-246</guid>
		<description>&lt;p&gt;Try Visual Studio .Net...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Try Visual Studio .Net&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Denis de Bernardy</title>
		<link>http://mgeisler.net/2005/05/wordpress-code-quality/#comment-245</link>
		<dc:creator>Denis de Bernardy</dc:creator>
		<pubDate>Mon, 23 May 2005 13:23:21 +0000</pubDate>
		<guid isPermaLink="false">http://mgeisler.net/2005/05/22/wordpress-code-quality/#comment-245</guid>
		<description>&lt;p&gt;You should download the &lt;a href="http://www.semiologic.com/projects/markdown-fix/" rel="nofollow"&gt;Markdown fix plugin&lt;/a&gt;, and spread the word that it exists.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>You should download the <a href="http://www.semiologic.com/projects/markdown-fix/" rel="nofollow">Markdown fix plugin</a>, and spread the word that it exists.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Geisler</title>
		<link>http://mgeisler.net/2005/05/wordpress-code-quality/#comment-243</link>
		<dc:creator>Martin Geisler</dc:creator>
		<pubDate>Mon, 23 May 2005 11:33:03 +0000</pubDate>
		<guid isPermaLink="false">http://mgeisler.net/2005/05/22/wordpress-code-quality/#comment-243</guid>
		<description>&lt;p&gt;I don't think one should decide on the use of global variables based on efficiency issues --- have you benchmarked PHP to see which of &lt;code&gt;'SELECT * FROM ' . $GLOBALS['wpdb']-&#62;posts&lt;/code&gt; and &lt;code&gt;global $wpdb; "SELECT * FROM $wpdb-&#62;posts"&lt;/code&gt; is faster?  (I haven't, but I don't think the difference will be big, there are lots of other things going on that are going to take more time.)&lt;/p&gt;

&lt;p&gt;You're of course right about creating a ticket for the duplicate code issue: &lt;a href="http://trac.wordpress.org/ticket/1401"&gt;#1401 has been submitted&lt;/a&gt;.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I don&#8217;t think one should decide on the use of global variables based on efficiency issues &#8212; have you benchmarked PHP to see which of <code>'SELECT * FROM ' . $GLOBALS['wpdb']-&gt;posts</code> and <code>global $wpdb; "SELECT * FROM $wpdb-&gt;posts"</code> is faster?  (I haven&#8217;t, but I don&#8217;t think the difference will be big, there are lots of other things going on that are going to take more time.)</p>
<p>You&#8217;re of course right about creating a ticket for the duplicate code issue: <a href="http://trac.wordpress.org/ticket/1401">#1401 has been submitted</a>.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
