On 03 Jul 2006, at 05:42, Nick Lewis wrote:
Maybe I'm alone here, but I think that moving to make drupal's code more logical, consistent and predictable is a critical priority -- as high as usability, sexiness, ajaxitiviy,etc etc. Regardless of there being no immediate benefits on the feature/performance level, we should consider the value of having a platform that new developers describe as "friendly, and intuitive".
You're not alone. If you want to improve the developer experience, and lower the barrier to development, changing objects to arrays is hardly going to make a difference. Instead, work on forms API 2.0, views API, CCK in core, etc. Personally, I very much prefer to use objects, and to use arrays as containers of objects. The 'everything has to be an array'-mantra is just awkward -- especially for new developers. -- Dries Buytaert :: http://www.buytaert.net/