code Object Orientated

Frequently Asked Questions entry

Question code Object Orientated
Answer

Why isn't all the code Object Orientated?

code Object OrientatedWe do use a lot of OOP but a lot of the general library code is not in classes. Some programmers will strongly disagree with this way of coding, but it is done for performance reasons and productivity reasons. For a number of reasons, heavy use of OOP adds performance costs to a dynamic language like PHP (code parse time, memory usage, and execution time). Software like the Linux kernel or Wordpress don't use much OOP at all, and are wildly successful.
1 guest and 0 members have just viewed this.
Control functions:

Contract Quick reply