News Feed
Jobs Feed
Sections




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

Matt Frost's Blog:
Prevent Overcomplication
July 06, 2012 @ 12:56:13

Matt Frost has a new post to his blog talking about reducing complexity and preventing overcomplication in your code and application structure.

We've all come across code that's written so craftily that it takes us some time to figure out what's actually going on in that block of code. We've never written things like that ourselves of course....seriously though, if you're collaborating, not doing things in the simplest terms will create an issue when other people start to look at your code. There is something about us; when we have an opportunity to show off how smart we are; we really try to go for it. The point is that it's not helping anyone and crafty code !== good code.

He makes a few recommendations about how to keep things simple in the various aspects of your development:

  • Know your tools
  • Know what you're doing
  • Check your smells
  • Ask "what value does this add?"
By simplifying things, you give others a chance to look at what you are doing and help you understand what you did right and what you can do to improve that section.
0 comments voice your opinion now!
overcomplify opinion tools knowledge value smell


blog comments powered by Disqus

Similar Posts

Anna Filina: Full Test Coverage is Impractical

SellMix Blog: PHP mistakes, misconceptions, bad practices and blatant no nos.

Brandon Savage's Blog: PHP Interview Questions And Answers

Chris Roane's Blog: Analyzing the Value of a PHP Programmer

Michael Kimsal: Things a web developer might need to know


Community Events











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


unittest component framework podcast performance package symfony2 composer introduction application hhvm security series database facebook hack install opinion release language

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