News Feed
Sections




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

Nikita Popov's Blog:
Don't be STUPID GRASP SOLID!
December 28, 2011 @ 09:26:14

Nikita Popov talks about the SOLID coding practices and creates his own acronym for the complete opposite - STUPID (Singleon, Tight coupling, Untestable, Premature optimization, Indescriptive naming, Duplication).

Ever heard of SOLID code? Probably: It is a term describing a collection of design principles for "good code" that was coined by Robert C. Martin (aka "uncle bob"), our beloved evangelist of clean code. [...] So, why not approach the problem from the other side for once? Looking at what makes up bad code.

He goes through each part of his STUPID acronym and talks about how it can hurt your code and a few alternatives to help make your application more flexible and easier to maintain in the long run. He also mentions GRASP (General Responsibility Assignment Software Principles), another set of good practices to follow, some similar to SOLID, that can make your app better.

0 comments voice your opinion now!
stupid solid grasp development practices opinion


blog comments powered by Disqus

Similar Posts

WebDevRadio Podcast: Episode 11 Released - Zend collaboration, High Performance MySQL and more

WebDevRadio Podcast: Episode 11 Released - Zend collaboration, High Performance MySQL and more

Stefan Esser's Blog: CORE GRASP - PHP Tainted Mode

PHPMaster.com: Constructors and the Myth of Breaking the Liskov Substitution Principle

Tiger Heron Blog: A Tale of Two Patterns


Community Events

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


version extension community release series podcast library security laravel5 framework interview php7 opinion api voicesoftheelephpant list language example introduction laravel

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