News Feed
Sections




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

Jacob Santos' Blog:
Object Oriented Programming Isn't Easy
October 17, 2007 @ 09:31:00

In a new post to his blog, Jacob Santos talks about why object oriented programming just "isn't easy" - including a few of his dislikes about OOP in PHP.

Functional developers have it easy. Damn straight and I wonder why so many developers choose to write functions, when they can opt for more beautiful classes instead. [...] It is easy to get functions right, all you have to do is prefix them and name them properly and you're done.

He notes that most people get OOP up to a certain point - that being the "has-a" and "is-a" relationships - where things start flying over their heads. He expresses his dislike of the way that Singletons are used (or not used) and places some of the blame on the tutorial and book authors out there trying to teach novice programmers with analogies that don't make sense in a codign situation.

0 comments voice your opinion now!
object oriented programming oop easy procedural function method class object oriented programming oop easy procedural function method class


blog comments powered by Disqus

Similar Posts

Developer Tutorials Blog: 5 Ways to be a Better PHP Developer

DevShed: Enforcing Object Types in PHP - Filtering Input Objects in PHP 4

Stefan Mischook's Blog: Object Oriented PHP Tutorial Released

David Coallier's Blog: Namespaces part 4.1 (What namespaces don't fix (part 1))

SitePoint PHP Blog: Collection Classes in PHP


Community Events





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


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

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