View Single Post
Old 12-17-2008   #7
xcoder
Ma ghayro
 
xcoder's Avatar
 
Last Online: 04-19-2018
Join Date: Dec 2005
Posts: 5,592
Thanks: 1,765
Thanked 4,201 Times in 2,361 Posts
Groans: 12
Groaned at 18 Times in 11 Posts
Default Re: PHP5 OOP or Procedural

Thanks for your replies guys,
Quote:
Originally Posted by rundll32.exe View Post
Of course, OOP is better but one won't notice the difference unless he/she is building large scale applications...
It's better on large applications since it's easier to debug and avoids repetition. But also it can be used for small applications as Zeraw said.
However, all-time-OOP-programmers say that the goal of making everything OOP is harder at the beginning but on the long run you will have your own sweet private library that will make your future applications easier to make and faster to launch.

However OOP requires more hardware resources but it certainly worth it
.
__________________
http://twitter.com/danymoussa
xcoder is offline   Reply With Quote