Posted by Jacob Atzen on 05/10/05 00:21
On 2005-05-09, bissatch@yahoo.co.uk <bissatch@yahoo.co.uk> wrote:
> Im basically just wanting to know classes benefits over functions. If
> something can be better put together in a class I would like to be
> doing it that way. Any suggestions?
What you're asking is why Object Oriented Programming (OOP) is better
than procedural programming. The answer is: That wholly depends on the
task at hand. Generally speaking OOP gives you some tools for managing
complexity in larger systems. It also provides a mean for eaiser reuse
of existing code. A good example of the power of OOP can be found here:
<http://www.sitepoint.com/forums/showthread.php?t=59898#post439958>
--
Cheers,
- Jacob Atzen
Navigation:
[Reply to this message]
|