Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Here's an example.

The top hit on Google for "make an ajax request with (YUI|jquery)" the documentation page is the first hit.

YUI's page is here, the line of code to make the request is well below the fold. http://developer.yahoo.com/yui/connection/

JQuery's page has it listed immediately. In fact, 2 variants above the fold. http://api.jquery.com/jQuery.ajax/

I'm not saying one is right and another is wrong. I'm just saying jQuery's gets more adoption. It's easier and people tend to like that.

I don't, for example, understand why I have to scroll past the YUI dependency configurator to get to the syntax I'm looking for.



You're looking at the current version of the documentation. jQuery didn't have nearly as good documentation five years ago, and YUI's was much better than it is today (I think YUI3 is a step back for Yahoo).


So jQuery's has gotten better and YUI's has gotten worse?

I just know that when I did try it (2009) I felt the same as I do today.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: