Hugh Gibson schrieb:
[1, 2, 3].append(['a', 'b']);

Does the array become?

[1, 2, 3, ['a', 'b']]

or

[1, 2, 3, 'a', 'b']
This, the second one is the result.

Sebastian
It was a rhethorical question. :) In Python (and other languages) the
first one is the result, that is why I suggested renaming the method
to "extend."

That gets my vote as well. "+1" in some circles (not sure if that terminology 
is understood here!)

I don't like "extend" because this is indentical to our "extend" system which is used to define and extend classes.

Another idea?

Sebastian


Hugh


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to