News Feed
Sections




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

Brandon Savage's Blog:
5 (Good) Lessons The Government Teaches Us About Object-Oriented Programming
December 02, 2009 @ 12:11:55

Brandon Savage has taken some of the good practices in object oriented application development and related them to some of the things that the government can teach you about them:

However, the ubiquity of governments around the world also gives us a unique opportunity to learn some lessons from them as developers, particularly about principles of object oriented programming. Governments serve as perfet object lessons (pun intended), demonstrating some of the good, the bad, and the ugly object-oriented practices we see.

He looks at five topics - abstraction, encapsulation, implementation of dumb objects, decoupling and the concept of "one class, one responsibility".

0 comments voice your opinion now!
government opinion object oriented


blog comments powered by Disqus

Similar Posts

Jani Hartikainen's Blog: Unit testing 4: Mock objects and testing code which uses the database

Rafael Dohms' Blog: The UG Rollercoaster

Ian Bicking's Blog: What PHP Deployment Gets Right

Jani Hartikainen's Blog: Should a failed function return a value or throw an exception?

Andy Frey's Blog: JavaScript PHP Remoting Demonstration


Community Events





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


podcast update install community opinion deployment interview introduction library api series laravel language zendserver symfony unittest package framework release tips

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