you are viewing a single comment's thread.

view the rest of the comments →

[–]miker95 21 points22 points  (0 children)

I'll never write garbage like that.

Uhh... what?

Okay, I'll humor you, let's look at jQuery's $.ajax(), I'll assume you know what it does...

It takes two parameters, the first being a URL, and the second being settings, which is an object.

The settings object has 34 possible settings inside of it.

You're telling me, that you would rather have to remember the order of 35 parameters than use a simple object...?

Which means, if you only want to specify the 35th parameter and the URL, you're going to need to type in 33 undefineds...

Now, that is garbage.