News Feed
Sections




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

Quaint's Blog:
Object Oriented vs. Procedural
January 11, 2006 @ 07:13:21

On his blog today, Quaint has this new post where he looks at one of the things that most developers struggle with at one time or another - "Object Oriented versus Procedural" code.

It was only relatively recent (1,5 years ago) that I was first introduced to the concept of Object Oriented Programming. This was when I first bought Harry Fueck's "PHP Anthology". At first I, like most (beginning) PHP programmers only used to procedural coding, couldn't see the advantage.

This is because the problem with procedural programmers learning OOP is that they tend to put their procedural code into classes/functions. This is however not the point (and the strength) of Object Oriented Programming. Writing good (useful) OOP requires developers to re-design their approach to writing software.

He continues on, talking about how the mindset needs to change for OOP versus procedural, and how code reuability is key. He also gives the example of PEAR for how OOP should be looked at...

1 comment voice your opinion now!
object oriented programming versus procedural object oriented programming versus procedural


blog comments powered by Disqus

Similar Posts

Stubbles Blog: My wishlist for PHP 6, pt1: The 'object' type hint

Evert Pot: Accessing protected properties from objects that share the same ancestry.

Matthew Weier O'Phinney's Blog: Aspects, Filters, and Signals, Oh, My!

Adam Gotterer's Blog: Building an Object Collection Manager with the Standard PHP Library (SPL)

Nefarious Designs: Object-Oriented PHP Part 4: PHP5's Improved Features


Community Events





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


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

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