by nbouscal · 7y ago · 0 comments
Postgres has some of the best documentation of any software product I’ve ever used. If someone wants to learn about SQL or databases, I always have to restrain myself from recommending that they just read the Postgres manual front to back. It’s comprehensive, it’s well written, it’s easy to navigate, and almost every explanation comes with several clear examples. It’s hard to overstate how valuable a property that is for a product as central to your architecture as your primary transactional database.
I agree. The culture of user-submitted comments with helpful examples and clarifications on each documentation page was a big part of that, too.
I miss the days when I could understand how something worked just by reading the official documentation first.
To this day, in my open source projects, I do not accept contributions that lack either documentation updates or test cases.
This is probably why I don’t read much documentation when I’m working with a library, et al. Never thought about it until I read the parent
All that hard work put into the code, just give us a quick example of how to actually use it! Especially where there is maybe a super superficial example, but missing examples of how to use the optional yet essential and non-straight forward arguments/features.
Anyway, IMHO MySQL has similar level of documentation.
Also I sometimes don't know if I should search with psql or pgsql or postgres or postgresql and I tend to type shorter ones but mysql is quite obvious on that.
I once did exactly as parent suggested and read the thing as a PDF on my phone, more or less sequentially, in downtime that I would otherwise have wasted. My knowledge of SQL and databases improved immensely.
To be fair I think I skipped some of the appendix matter relating to niche use cases.