[development] Drupal - to use objects or arrays

AjK drupal at f2s.com
Wed Jan 10 22:16:20 UTC 2007


Darrel wrote:
> There is, however, some very cool stuff you can 
> do with objects. I wouldn't like to see Drupal 
> completely excluded from it... 

Michael wrote:
> But i agree with your sentiment regarding the 
> usefulness of the objects for structured data.

With the exception of ->foo over ['foo'] which I 
do agree is a "nicer looking shorthand" what exactly 
do you get in terms of "cool stuff" and "usefulness"
from using objects over arrays in a procedural 
environment when all your using is the object properties
as an array?

--Andy (AjK)



More information about the development mailing list