News 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

Smashing Magazine: Why Coding Style Matters

Juozas Kaziukenas' Blog: Zend Framework is NOT bloated

Anthony Ferrara: Reinvent The Wheel!

Brian Jones' Blog: If You Code, You Should Write

DevShed.com: PHP: Best Methods for Running Scheduled Jobs


Community Events





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


developer series refactor podcast list community symfony2 interview laravel api language release unittest threedevsandamaybe testing opinion code introduction install framework

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