10 Jan
2007
10 Jan
'07
10:40 a.m.
On 10 Jan 2007, at 6:08 AM, Rowan Kerr wrote:
There's no hard rule, but I think "what makes semantic sense when writing it" is the guideline. Oh yes, and when iterating over records from a database where it really doesn't make a difference, using db_fetch_object() seems more common than db_fetch_array(), simply because there's fewer funky characters involved with objects than arrays. :-)
I'd be happy to see objects removed completely from Drupal...
agreed. We do all that extra casting , for no real reason.