You are here: Re: To OOP or not to OOP « PHP Programming Language « IT news, forums, messages
Re: To OOP or not to OOP

Posted by Joe Scylla on 05/29/07 13:42

Gregor wrote:
> This is partially an opinion question. I have some modularization for my
> main site using vanilla PHP. I'm a one-man operation.
>
> Is there any major benefit to learning and using OOP? I have lots of other
> stuff to be spending my limited intelligence learning.

Well, all depends on your limited time.

There *are* alot of benefits learning OOP like more reusable and
manageable code, you will be able to create better code and the ability
to create more stable and error proof code.

I don't like the "glasses"-analogy because it's not only useful if you
*need* it. Things can be useful also if you don't need it to fulfil your
task.

The negatives are that you can create some nasty bugs with OOP
especially on more complex projects. Also some programmers tend to
overuse OOP. There's nothing wrong with functions and some procedural
programming.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация