Re: Re: class usage

From: Date: Fri, 29 Sep 2006 15:45:02 +0000
Subject: Re: Re: class usage
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-242398@lists.php.net to get a copy of this message
2006/9/29, M.Sokolewicz <tularis@php.net>:
Well, you could say that there is no difference really. Classes are mainly used as collections; They're a collection of functions (methods) sharing a common goal/dataset/whatever.
That's a module, my friend, not a class: http://en.wikipedia.org/wiki/Module_%28programming%29 Modularity was good, but OOP is better... IMO.

« previous php.general (#242398) next »