An Introduction to Refactoring (in PHP)

“Code refactoring is not to be confused with code optimization. Code optimization is a completely different ball game, where the goal is to run the program as fast as possible by using as few CPU cycles as you can. The focus during optimization is to speed up the program, if it impedes code understandability then so be it. On the contrary refactoring may at times make your program slower, albeit most of the times by a small factor.”

From CodeDiesel. This is a pretty good discussion and series about code refactoring. The quote above in particular is useful because people confuse refactoring and optimization. It’s also a good introduction to the topic of refactoring for business people who work with or manage programmers.

Add Your Comment

If you comment to get a link back to your site, that's fine, but please add a comment that expands what is written in the story above. Make your comment personal, share your experience, ask a question. Thank you!

You must be logged in to post a comment.

blog comments powered by Disqus

Connect With Us Online

We provide low-cost, how-to internet marketing information for individuals, businesses, and groups, as well as the people who support them. Learn more

  • Latest Stories
  • Popular Articles
  • Popular Stories

Great Online Communities to Explore

Get the Email Newsletter: Keep Up To Date