<?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/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	>
<channel>
	<title>Comments on: Programming: you&#8217;re doing it wrong</title>
	<atom:link href="http://www.phparch.com/2010/03/10/programming-youre-doing-it-wrong/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phparch.com/2010/03/10/programming-youre-doing-it-wrong/</link>
	<description>PHP Conference, PHP Training, PHP Consulting, PHP Magazine — php&#124;architect</description>
	<lastBuildDate>Mon, 06 Sep 2010 10:22:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Encouraging Open Source Contribution &#124; BrandonSavage.net</title>
		<link>http://www.phparch.com/2010/03/10/programming-youre-doing-it-wrong/comment-page-1/#comment-1558</link>
		<dc:creator>Encouraging Open Source Contribution &#124; BrandonSavage.net</dc:creator>
		<pubDate>Wed, 07 Apr 2010 11:08:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.phparch.com/?p=4304#comment-1558</guid>
		<description>[...] Tabini pointed out that architecture doesn&#8217;t matter as much as having code that works. This is a fine point, and often times is true. But if you ask the average PHP developer if they [...]</description>
		<content:encoded><![CDATA[<p>[...] Tabini pointed out that architecture doesn&#8217;t matter as much as having code that works. This is a fine point, and often times is true. But if you ask the average PHP developer if they [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oliver</title>
		<link>http://www.phparch.com/2010/03/10/programming-youre-doing-it-wrong/comment-page-1/#comment-1168</link>
		<dc:creator>Oliver</dc:creator>
		<pubDate>Thu, 25 Mar 2010 03:12:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.phparch.com/?p=4304#comment-1168</guid>
		<description>Its a bit sad to see that people fully agree with your post, as I doubt you mean it exactly the way its written. ;-)
The best architecture won&#039;t help if the product&#039;s not working. On the other hand, if one writes code like, sadly, many PHP developers do, you will waste heaps of time on maintenance, because you break stuff all over, again and again.

I&#039;d rather not use copy&amp;paste and filesystem wide search and replace, but good architecture. ;-)</description>
		<content:encoded><![CDATA[<p>Its a bit sad to see that people fully agree with your post, as I doubt you mean it exactly the way its written. ;-)<br />
The best architecture won&#8217;t help if the product&#8217;s not working. On the other hand, if one writes code like, sadly, many PHP developers do, you will waste heaps of time on maintenance, because you break stuff all over, again and again.</p>
<p>I&#8217;d rather not use copy&amp;paste and filesystem wide search and replace, but good architecture. ;-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kinanaskomitin</title>
		<link>http://www.phparch.com/2010/03/10/programming-youre-doing-it-wrong/comment-page-1/#comment-688</link>
		<dc:creator>Kinanaskomitin</dc:creator>
		<pubDate>Thu, 18 Mar 2010 03:40:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.phparch.com/?p=4304#comment-688</guid>
		<description>Happy 20th anniversary!
I&#039;ll have my 10th anniversary this October, it feels great! And I agree with you! Keep posting!</description>
		<content:encoded><![CDATA[<p>Happy 20th anniversary!<br />
I&#8217;ll have my 10th anniversary this October, it feels great! And I agree with you! Keep posting!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rjw</title>
		<link>http://www.phparch.com/2010/03/10/programming-youre-doing-it-wrong/comment-page-1/#comment-653</link>
		<dc:creator>rjw</dc:creator>
		<pubDate>Tue, 16 Mar 2010 19:40:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.phparch.com/?p=4304#comment-653</guid>
		<description>Excellent posts. And John Kary&#039;s points resonate also.  Having read both posts, I have to agree with what is raised on both. While I am a big advocate of minimal, simplistic designs to get your release out in a quality driven manner, I can’t help but agree with Marco in the area of ego winning over pragmatism (if I interpret him correctly).

I have seen projects suffer in the past simply down to, imo, ego – on both sides of the fence. Ego encapsulated in the programmer who thinks half way through the project that we must start again because we should have implemented pattern x at the beginning, to the other end of the pole where senior programmers defend their borked designs and hence everyone suffers the maintenance headache / cost – and end up ‘hating their job’ … as I have come to do in the past.

Know your subject, remember the deadline, don’t leave a mess that you wouldn’t want to revisit.</description>
		<content:encoded><![CDATA[<p>Excellent posts. And John Kary&#8217;s points resonate also.  Having read both posts, I have to agree with what is raised on both. While I am a big advocate of minimal, simplistic designs to get your release out in a quality driven manner, I can’t help but agree with Marco in the area of ego winning over pragmatism (if I interpret him correctly).</p>
<p>I have seen projects suffer in the past simply down to, imo, ego – on both sides of the fence. Ego encapsulated in the programmer who thinks half way through the project that we must start again because we should have implemented pattern x at the beginning, to the other end of the pole where senior programmers defend their borked designs and hence everyone suffers the maintenance headache / cost – and end up ‘hating their job’ … as I have come to do in the past.</p>
<p>Know your subject, remember the deadline, don’t leave a mess that you wouldn’t want to revisit.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: I May Be Doing it Wrong, But I Have My Sanity &#124; John Kary</title>
		<link>http://www.phparch.com/2010/03/10/programming-youre-doing-it-wrong/comment-page-1/#comment-651</link>
		<dc:creator>I May Be Doing it Wrong, But I Have My Sanity &#124; John Kary</dc:creator>
		<pubDate>Tue, 16 Mar 2010 15:15:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.phparch.com/?p=4304#comment-651</guid>
		<description>[...] Tabini recently wrote on the php&#124;architect blog that &#8220;programmers are doing it wrong.&#8221; He argues that many [...]</description>
		<content:encoded><![CDATA[<p>[...] Tabini recently wrote on the php|architect blog that &#8220;programmers are doing it wrong.&#8221; He argues that many [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fsilber</title>
		<link>http://www.phparch.com/2010/03/10/programming-youre-doing-it-wrong/comment-page-1/#comment-612</link>
		<dc:creator>fsilber</dc:creator>
		<pubDate>Mon, 15 Mar 2010 15:24:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.phparch.com/?p=4304#comment-612</guid>
		<description>Many of the new things Martin Fowler advocates are to facilitate the creation of automated unit tests.  Lots of programs in production don&#039;t have unit tests; they work, but they are more rigid and resistant to change as a result.</description>
		<content:encoded><![CDATA[<p>Many of the new things Martin Fowler advocates are to facilitate the creation of automated unit tests.  Lots of programs in production don&#8217;t have unit tests; they work, but they are more rigid and resistant to change as a result.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AwesomeBob</title>
		<link>http://www.phparch.com/2010/03/10/programming-youre-doing-it-wrong/comment-page-1/#comment-604</link>
		<dc:creator>AwesomeBob</dc:creator>
		<pubDate>Mon, 15 Mar 2010 07:05:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.phparch.com/?p=4304#comment-604</guid>
		<description>I don&#039;t agree with everything. I think that code should be written to meet a few criteria besides just &quot;working&quot; to get the job done.

1. Make it easy to maintain. I hate searching through poorly written apps to extend/fix components that are failing or need to be improved because some brains upstairs want things to perform differently.

2. Write so people can read it. Don&#039;t save yourself some time by writing unorganized hard to read code so someone else needs to spend longer to figure out what the code is suppose to do.

3. Reasarch the right way to do things, HTTP_POST_VARS isn&#039;t used anymore, use $_POST and don&#039;t forget to sanitize your input data with actual functions like mysqli_real_escape_string not add_slashes or your own custom function.

It does take longer to work with poorly written code after it&#039;s written than to just take some extra time to write it correctly.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t agree with everything. I think that code should be written to meet a few criteria besides just &#8220;working&#8221; to get the job done.</p>
<p>1. Make it easy to maintain. I hate searching through poorly written apps to extend/fix components that are failing or need to be improved because some brains upstairs want things to perform differently.</p>
<p>2. Write so people can read it. Don&#8217;t save yourself some time by writing unorganized hard to read code so someone else needs to spend longer to figure out what the code is suppose to do.</p>
<p>3. Reasarch the right way to do things, HTTP_POST_VARS isn&#8217;t used anymore, use $_POST and don&#8217;t forget to sanitize your input data with actual functions like mysqli_real_escape_string not add_slashes or your own custom function.</p>
<p>It does take longer to work with poorly written code after it&#8217;s written than to just take some extra time to write it correctly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michele Mauro</title>
		<link>http://www.phparch.com/2010/03/10/programming-youre-doing-it-wrong/comment-page-1/#comment-518</link>
		<dc:creator>Michele Mauro</dc:creator>
		<pubDate>Fri, 12 Mar 2010 18:58:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.phparch.com/?p=4304#comment-518</guid>
		<description>Fowler wrote lots of clever and interesting stuff, and he is right most of the time. The problem you talk about is probably more related to the fact that Software Engineering is not Engineering at all (despite what my boss and my own Phd say :-) ), and that software is such a vast and endless space that different methods and opposite philosophies have still enough space to be true, in their own neighbourhood. Except that a neighbourhood can be a multimillion industry with hundreds of thousand of professionals. And there are many of them industries (just think embedded vs. web programming).
So, it&#039;s not (only) that programming attracts egomaniacs: every field has them. Software Development is so big a jungle that many of them can shout at the same time, don&#039;t hear one another, and be right at the same time.
By the way, don&#039;t say His Holyness name in vain another time. Read at least twice &quot;UML distilled&quot; and you&#039;ll be forgiven. :-)</description>
		<content:encoded><![CDATA[<p>Fowler wrote lots of clever and interesting stuff, and he is right most of the time. The problem you talk about is probably more related to the fact that Software Engineering is not Engineering at all (despite what my boss and my own Phd say :-) ), and that software is such a vast and endless space that different methods and opposite philosophies have still enough space to be true, in their own neighbourhood. Except that a neighbourhood can be a multimillion industry with hundreds of thousand of professionals. And there are many of them industries (just think embedded vs. web programming).<br />
So, it&#8217;s not (only) that programming attracts egomaniacs: every field has them. Software Development is so big a jungle that many of them can shout at the same time, don&#8217;t hear one another, and be right at the same time.<br />
By the way, don&#8217;t say His Holyness name in vain another time. Read at least twice &#8220;UML distilled&#8221; and you&#8217;ll be forgiven. :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul W. Homer</title>
		<link>http://www.phparch.com/2010/03/10/programming-youre-doing-it-wrong/comment-page-1/#comment-509</link>
		<dc:creator>Paul W. Homer</dc:creator>
		<pubDate>Fri, 12 Mar 2010 15:20:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.phparch.com/?p=4304#comment-509</guid>
		<description>What makes that older code great is that is it simple and straight-forward. Coders sometimes get caught up in these crazy uber-complex ideas that ultimately aren&#039;t added enough to offset their complexity. Others swing too far the other way, and just make the code as brutally specific as possible. Neither approach works; neither is right. 

Still, just because someone&#039;s managed to get something working doesn&#039;t mean it is good. You really have to factor in the lifetime of the code, and it&#039;s success or failure in making its user&#039;s lives easier. There are great examples of really crappy code that is awful to use, yet extremely popular. The world would actually be a better place if these were replaced, but we cling to them out of habit.</description>
		<content:encoded><![CDATA[<p>What makes that older code great is that is it simple and straight-forward. Coders sometimes get caught up in these crazy uber-complex ideas that ultimately aren&#8217;t added enough to offset their complexity. Others swing too far the other way, and just make the code as brutally specific as possible. Neither approach works; neither is right. </p>
<p>Still, just because someone&#8217;s managed to get something working doesn&#8217;t mean it is good. You really have to factor in the lifetime of the code, and it&#8217;s success or failure in making its user&#8217;s lives easier. There are great examples of really crappy code that is awful to use, yet extremely popular. The world would actually be a better place if these were replaced, but we cling to them out of habit.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.phparch.com/2010/03/10/programming-youre-doing-it-wrong/comment-page-1/#comment-507</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Fri, 12 Mar 2010 14:26:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.phparch.com/?p=4304#comment-507</guid>
		<description>You won me at:
&quot;When I open a PHP file inside the WordPress codebase, I feel like I just boarded a time machine that’s taken me back to the way we used to write PHP code six or seven years ago—and don’t even get me started on what I think of Drupal.&quot;

Well said.</description>
		<content:encoded><![CDATA[<p>You won me at:<br />
&#8220;When I open a PHP file inside the WordPress codebase, I feel like I just boarded a time machine that’s taken me back to the way we used to write PHP code six or seven years ago—and don’t even get me started on what I think of Drupal.&#8221;</p>
<p>Well said.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using apc (user agent is rejected)
Database Caching 13/29 queries in 0.011 seconds using apc

Served from: www.phparch.com @ 2010-09-07 01:13:54 -->