On Tuesday 09 January 2007 10:08 pm, Rowan Kerr wrote:
On 1/9/07, Larry Garfield <larry@garfieldtech.com> 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...
That's been proposed at least twice since I started following this list. Both times there was a big argument and we ended up right back where we started: Use what makes semantic sense. Please don't open that can of worms again. :-) -- Larry Garfield AIM: LOLG42 larry@garfieldtech.com ICQ: 6817012 "If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of every one, and the receiver cannot dispossess himself of it." -- Thomas Jefferson