On Wed, Apr 27, 2011 at 10:10 AM, Bemi Faison <[email protected]> wrote: > Yes, when compared with the specification, I am using a risky > parameter format. For perspective, parameter formats evolve, and do so > with less pain than from changes to API methods and objects. Just look > at YUI's mixed use of configuration objects in place of individual > arguments.
If you're implying that YUI makes assumptions about the enumeration order of object properties, then we would consider that a bug. I'm not aware of any code in YUI that does this, but if you are, please let me know so we can fix it. YUI does use config objects for passing optional arguments to functions, but only when order doesn't matter. - Ryan -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
