News Feed
Sections




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

Timothy Boronczyk's Blog:
What's Wrong with OOP
June 11, 2009 @ 08:44:05

In this new post to his blog Timothy Boronczyk has a few suggestions about what's wrong with the current implementation of object oriented programming in most languages (including PHP).

Proponents of Object Oriented Programming feel the paradigm yields code that is better organized, easier to understand and maintain, and reusable. [...] If objects truly model the way people think of things in the real world, then why do people have a hard time understanding and working in OOP? I suspect the problem might be the focus on objects instead of actions.

He goes on to explain that, in his opinion, the functionality would be more understandable if it focused on the actions from the user's point of view rather than what the object itself can do.

The way some OOP languages (like Java and C#) force objects on the programmer borders on the absurd. [...] Sadly though, that decision isn't left to the programmer who has been tasked with developing and maintaining a system.
0 comments voice your opinion now!
action objectoriented oop wrong


blog comments powered by Disqus

Similar Posts

Chris Justus' Blog: 4 Reasons Java Will Outlive PHP (My interview with IEEE...)

Lars Strojny's Blog: Leaflet: PHP development in 2009

TheWebSqueeze.com: PHP5 Abstraction for the Rest of Us

Web Developer Juice: PHP Magic Functions: Best Part of Object Oriented PHP - Part 1

Lorna Mitchell's Blog: Building A RESTful PHP Server: Routing the Request


Community Events





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


framework list threedevsandamaybe code release language voicesoftheelephpant conference deployment interview series community api bugfix introduction laravel development zendserver podcast tips

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