PHP5 OOP or Procedural
I don't know how many PHP developers we got in VC community, i just thought about opening this thread for who it may concerns.
As you may know PHP5 best feature is the big improvement done in object modeling (interfaces, access modifiers...) while php4 has very limited OOP capability.
But still some people believe that procedural has a better performance and no need for OOP in PHP since PHP was not made to be OOPed such as java and c++
Personally, i switched lately (1 month ago) to OOP and still very excited about the idea, i created some large and complex classes and doing just fine. It's way easier to modify extend using inheritance and of course debug since your page code will be way smaller than a procedural.
Yet, i see many online on-fire debates about this matter.
The question comes here, do you prefer Procedural Programming or Object Oriented Programming in PHP and why?
__________________
http://twitter.com/danymoussa
|