News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

php|architect:
Stop Telling People to Optimize, and Start Teaching Them to Program
July 09, 2009 @ 13:43:23

Following some of the "backlash" of Google posting their "performance tips" for PHP developers, Marco Tabini has written up a post with a suggestion of his own - stop teaching developers how to optimize their code and teach them how to code it better from the start.

In principle, I have nothing against micro-optimizations; I just think they're a waste of time - perhaps even more so because they take the focus away from the simple fact that it's a rare performance problem that is cause by the language: the problem, almost inevitably, resides either with the developer, or with an external system.

He explains that it's no so much about dropping them all together as it is starting from the beginning and teaching best practices and good use of standards and proper development practices. That's what we should be promoting, not things that might shave milliseconds off the total execution time.

0 comments voice your opinion now!
microoptimization bestpractices teach opinion optimize


blog comments powered by Disqus

Similar Posts

Perforce Software: Seven Pillars of Pretty Code

Cal Evans' Blog: Four reasons why Drupal should fork PHP

Reddit.com: Is there anything wrong with using functions?

Christoph Rumpel: 10 Things That Will Make You a Better Developer

Michael Kimsal: Purpose of Benchmarking Framework Speed


Community Events

Don't see your event here?
Let us know!


laravel series laravel5 language unittest example release extension voicesoftheelephpant install api library xdebug php7 community introduction opinion interview framework podcast

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework