OOP vs Functions vs Neither

PythonPython Forum LeaderThe Royal RAM
Ive been recently learning to write my PHP in a more object orientated way(OOP). Heres an interesting article on its speeds:

http://www.webmasterstop.com/56.html

The Royal Ram

Comments

  • ChroderChroder Senior Member The Royal RAM
    I would always choose OOP over simple algorithmic programming. The reason: it's easier. Using OOP, you can develop and maintain applications easier, while gaining a whole new set of tools to work with (more tools = more control = better apps).

    On top of that, you could probably create applications with less code or more efficiency then a pure algorithmic design. Speed isn't everything, and those tests hardly prove much. Take a look at Invision Power Board or vBulletin (3.5), they rely on OOP greatly, and they are very fast scripts.
Sign In or Register to comment.