On May 30, 2006, at 6:40 PM, Bob Ippolito wrote:

>> Plus, the doc uses the python-like syntax to indicate optional
>> arguments, i.e.
>>
>> getElementsByTagAndClassName(tagName, className, parent=document):
>>
>> making it even harder to remember such js-idio-t-syncracies....
>
> It's a pretty standard way to indicate optional arguments that have
> defaults...

And it is a very good way to do it.... I was only letting out that 
apparent similarities between js and python, or any pair of languages, 
can be annoying...





--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/mochikit
-~----------~----~----~----~------~----~------~--~---

Reply via email to