Most engineers I know rush to youtube or medium or some other outsourced interpretation of the docs that is far more scattered in info. I was wondering what made you (if you're one of the types that prefers medium/YT over the documentation) prefer these off-hand interpretations of a program rather than the one who created it ?
I have a piece of software and a task I want to accomplish. For example, list files ordered by size in ascending order. ls' man page tells me how to do that, but I have to piece the information together because it is arranged option by option. Thus, I'm forced to read more than what I'd like.
Or I can google "ls sort files by size" click on the first link https://alvinalexander.com/photos/linux-ls-command-how-sort-... and voila.
Most people writing docs don't get that people learn by example. Thus the docs they write lacks examples and therefore are not very useful.
Users start fresh. If users had spent as much time as the one documenting they would probably love the documentation, but since they are new, the viewpoint differs.
Truly good and intelligent documentation tries to capture the mindset of the assumed reader.
2. Documentation is written by super smart people designed the software... they tend to have a tough time relating to normal developers and especially beginners
3. Docs never provide enough examples. Stack overflow literally exists for this reason
4. Documentation is an after thought for most pieces of software (laravel is a notable example to the contrary - the docs are part of the software design for laravel), and not a forethought.
5. People just don't read period
6. Documentation usually has contrived examples, where other sources often have literally the think that you were trying to do (Users, Posts, Payments, Tags, etc)
Short list... but hopefully helpful
A matter of generational cultural conditioning I guess.
However, for many programmers the difficulty is to break down real problems into functions, and docs however good they are, won't help much.
Sometimes medium is better because it has examples. I want the direct answer to my problem, the one liner. I don’t have time to read a book/doc.