3 ms·
The graphs change a lot searching for "PHP array" VS "Python array" VS "Ruby array": http://www.google.com/insights/search/#cat=31&q=python%20array%2Cruby%20ar
by antirez 17y ago
The graphs change a lot searching for "PHP array" VS "Python array" VS "Ruby array":
http://www.google.com/insights/search/#cat=31&q=python%20array%2Cruby%20array%2Cphp%20array&cmpt=q http://www.google.com/insights/search/#cat=31&q=python%2...
Possibly comparing a search that is about what a real user could type into the search engine is more accurate, and filters out other stuff like all the search for "Python" as animal.
Edit: btw using "hash" instead of "array" changes the results a lot: http://www.google.com/insights/search/#cat=31&q=python%20hash%2Cruby%20hash&cmpt=q http://www.google.com/insights/search/#cat=31&q=python%2...
- amix 17y agohttp://www.google.com/insights/search/#cat=31&q=python%20list%2Cruby%20list%2Cphp%20array&cmpt=q http://www.google.com/insights/search/#cat=31&q=python%2... - in Python "arrays" are called lists...
- antirez 17y agoThanks amix, not in Ruby so the final link could be this: http://www.google.com/insights/search/#cat=31&q=python%20list%2Cruby%20array%2Cphp%20array&cmpt=q http://www.google.com/insights/search/#cat=31&q=python%2...
- brettnak 17y agoActually, since a PHP array is more like a combination of a python list and a python dictionary or a ruby hash and a ruby array, this is the best comparison: http://www.google.com/insights/search/#cat=31&q=python%20list%20%2B%20python%20dictionary%2Cruby%20array%20%2B%20ruby%20hash%2Cphp%20array&cmpt=q http://www.google.com/insights/search/#cat=31&q=python%2...
- davidmathers 17y agoMuch of PHP's popularity comes from countries where the other two aren't even known, like Bangladesh. Limiting the search to either San Francisco or Boston gives the most useful results: http://www.google.com/insights/search/#cat=31&q=python%20list%2Cruby%20array%2Cphp%20array&geo=US-CA-807&cmpt=q http://www.google.com/insights/search/#cat=31&q=python%2...
- aneesh 17y agohttp://www.google.com/insights/search/#cat=31&q=python%20dictionary%2Cruby%20hash&cmpt=q http://www.google.com/insights/search/#cat=31&q=python%2... -- In python, "hashes" are called dictionaries
- wgj 17y agoThere is already a filter on the search that limits the results to programming queries, but I don't know the algorithm. I tested by comparing the results for "ruby" and "rails". The curves were virtually identical, which would be impossible if there were very much noise in the results for either term.
- davidmathers 17y agousing "ruby on rails" massively changes the results: http://www.google.com/insights/search/#cat=31&q=python%20list%2Cruby%20on%20rails%2Cphp%20array&cmpt=q http://www.google.com/insights/search/#cat=31&q=python%2...
- wgj 17y agoTry this example: http://www.google.com/insights/search/#cat=31&q=ruby%2Crails%2Cruby%20on%20rails&cmpt=q http://www.google.com/insights/search/#cat=31&q=ruby%2Cr... There's still a strong correlation among the three queries.