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

Reddit.com: How to progress my PHP skills?

International PHP Magazine: Poll Question: Which PHP Script Manages FAQs Effectively?

Jani Hartikainen's Blog: A simple way to make your code better: Stop adding more parameters

Metapundit.net: Code Smells II

7php.com: Building Your PHP Geek Cred To Publicly Be An Awesome PHP Developer


Community Events





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


release bugfix developer code language framework wordpress configure threedevsandamaybe introduction list laravel interview project api library application series community podcast

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