3 ms·
Is it just me or is this also a symptom of Python's documentation being really strange to navigate and generally having a massive impedance mismatch with Google
by henrikeh 6y ago
Is it just me or is this also a symptom of Python's documentation being really strange to navigate and generally having a massive impedance mismatch with Google?
When I search on Google for "python reverse list", not a single link is to the official Python documentation. Not even if I search for "python reverse" does the documentation page show up. Searching for "python reverse documentation" leads to the second link to the Build-in Functions page (https://docs.python.org/3/library/functions.html https://docs.python.org/3/library/functions.html), which is what I "need".
Excuse the comparison, but "matlab reverse list" has the top three to the official documentation (all of them relevant, but slightly different semantics). Why can't Python be better than that?
- deleted 6y ago[deleted]
- klmadfejno 6y ago> When I search on Google for "python reverse list", not a single link is to the official Python documentation. Not even if I search for "python reverse" does the documentation page show up. Searching for "python reverse documentation" leads to the second link to the Build-in Functions page (https://docs.python.org/3/library/functions.html https://docs.python.org/3/library/functions.html), which is what I "need". But what you want is probably ls[::-1]
- nurpax 6y agoIt’s not just you. Python seems to suffer from Python-specific ”tutorial sites” being SEO’d above Python’s official docs. I don’t know what it is about the Python documentation that lowers its rank on Google search results. In general, not a big fan of Python docs.
- spion 6y agoJS has / had the same problem, which is why a common tip is to add "MDN" to the keywords to get a higher quality reference style result from MDN: https://developer.mozilla.org/ https://developer.mozilla.org/
- HDMI_Cable 6y agoI wish there was an MDN for Python/Julia.
- kevin_thibedeau 6y agoPython documentation is a static Sphinx site with no need for JS to render content. That's the easiest possible design for search engines to index. It's Google's fault that their algorithm can be gamed by low quality seo sites.
- ziml77 6y agoThe only way it wouldn't be able to be gamed is if they kept making large changes to it for no other reason than to be a moving target. Like you can say "oh it's stupid that they prioritize X and not Y when Y is a much better indicator of meaningful content" but as soon as they switch Y to be a priority, sites will shift to maximizing the amount of Y.
- HDMI_Cable 6y agoWith how much money Google spends on ML it's really a wonder that they haven't been able to out-compete a bunch of consultants on SEO. This really seems like a blunder on Google IMO.
- kevin_thibedeau 6y agoGoogle can fix the problem. They just don't want to. They were able to kill the Wikipedia clones by demoting their rankings. They don't want to surface non-profit ad-free sites on the first page results because that cuts into revenue.
- jollybean 6y agoIt's not you - Python docs are very comprehensive but organized in a very odd way and miss a lot of marks. If you have time to 'read everything' you're fine but it's somewhat less suited as a raw reference. Although I don't mind the informal voice of the docs - there's clearly not much in the way of editorial oversight and pro technical writing. It makes one reconsider how much actual effort goes into putting together docs from corporate backed efforts. That said, I don't think anyone does it perfectly well, and that we could do a lot better in terms of providing information - to the point wherein I would consider it a little bit of a failure that SE has to be consulted for smaller problems. One would hope that 'good docs' would provide clear and concise answers to such things, rather than have the crowd cobble it together and vote on it.
- dkersten 6y agoI actually don’t mind the python docs, but then, I learned python from them back in 2001 when I had infrequent internet access, so I had to rely on my offline copy!
- m463 6y ago> Is it just me no. I stored the entire python document set locally, yet I still search online for functions. stuff like: is it str.beginswith() or str.startswith()? Blast, how do I convert to/from unicode again??? I think what we need is some sort of mashup of rosetta code and the docs and an index.