News for hackers. Stuff that matters.
Re:Ask HN: Why does Google rank the real Python documentatio... by g8oz on Wednesday September 13, 2023 @05:56AM (#37494590)
Php docs get this right in a way that works for many more people than Python does.
Re:Ask HN: Why does Google rank the real Python documentatio... by paledot on Wednesday September 13, 2023 @09:00PM (#37503612)
Agreed. For all of the hate PHP gets, the state of their respective docs was a big pain point for me in trying to learn Python after years of writing PHP.

However, the PHP docs, especially for older, less-used functions, are riddled with subtle errors and inconsistencies related to the typing of arguments and handling of edge cases. But the way they're structured is fine! I particularly enjoy how you can type php.net/sprintf and land directly on the doc page you're looking for.