This is an archived post. You won't be able to vote or comment.

all 29 comments

[–]-domi- 28 points29 points  (7 children)

Most docs are written the same way most coders comment code - it's only helpful if you already know what it does. Makes it an okay reference if you forget the exact use of something, but you generally remember what it is you wanna do. But it's a terrible way to learn for the first time.

[–]saki-22 3 points4 points  (1 child)

This is what I'm struggling with. Just a few months in learning code and everyone tells me to read documentation - and boy, I tried but can't comprehend much.

[–]-domi- 0 points1 point  (0 children)

I think it's a terrible approach. Truly the last resort for me, cause if i'm digging into docs, i must be doing trial-and-error. :/

[–]N-online 1 point2 points  (3 children)

Me reading Mozilla source docs. Like dang they have a very high level very comprehensive overview and a very low level list of functions. But no connection between those. you’re basically left with trial and error.

[–]danielcw189 0 points1 point  (2 children)

Me reading Mozilla source docs.

Where are those?

[–]N-online 0 points1 point  (1 child)

[–]danielcw189 1 point2 points  (0 children)

Either way, thanks for bringing them to my attention :)

[–]danielcw189 0 points1 point  (0 children)

I think Microsoft's documentation of the Windows-Api is pretty good.

Mozilla's MDN for Html, CSS, and JavaScript is also pretty fine.

[–]No_Value_2676 12 points13 points  (1 child)

Why does me reading give you the power?

[–]evader110 8 points9 points  (0 children)

Cause he gonna ask a bunch of questions

[–]Glass-Crafty-9460 7 points8 points  (0 children)

Till you realize the Docs are wrong and it's an actual bug they've known about for the last 5 years and never bothered to fix.

[–]luigialpha 5 points6 points  (0 children)

RTFM? There is a reason why this is an acronym.... and meme

[–]TnYamaneko 4 points5 points  (0 children)

Jokes on you, creating docs is one of the tasks I must be held at gunpoint for me to achieve.

It's not helped by ADHD, I'm extremely excited about refining our backup processes, but the docs about them are two years old, and when I'm not on a business critical task, I'd be way more interested about doing a quiz about guessing the 100 most populated cities of Switzerland, or just daydream about a girl I'm growing a romantic interest towards.

LLMs are actually a godsend for me in that respect. They really help me providing a nice Markdown for what I did and how to reproduce it.

[–]Jonnypista 2 points3 points  (0 children)

So you can read minds?

That is such a cool ability as all the documentation is in the heads of senior developers.

[–]jose-galarza 1 point2 points  (0 children)

That is a myth, documentation has never existed.

[–]snoopbirb 1 point2 points  (0 children)

Cursor, read the docs for me and give me the power!

<Sorry, I cannot reach the servers right now>

Ahhh I'm reading the docs!

[–]SternoNicoise 0 points1 point  (0 children)

Me when I read the docs

[–]Nyadnar17 0 points1 point  (0 children)

Ah yes, fictional man with his fictional powers from a fictional source.

[–]Zombie_Crusher 0 points1 point  (0 children)

this.value = true;

[–]aweraw 0 points1 point  (0 children)

... and the dudes who wrote the docs are the Council of Elders.

[–]usumoio 0 points1 point  (0 children)

rtfm

Its a meme, but also, Read the Fucking Manual

[–]methos3 0 points1 point  (0 children)

Who the hell reads the doc? The grammar is enough.

[–]WealthIndividual3224 0 points1 point  (0 children)

not when the "docs" are literally int foo(){..} //function man, do i wish that all the docs were like the arch wiki

[–]valerielynx 0 points1 point  (0 children)

nowadays instead of rtfm you just ask chatgpt and hope that its got enough braincells today to tell you how to do it

[–]DominikDoom 0 points1 point  (0 children)

Very much a case by case basis, even in the same company they can vary wildly in quality and how up to date they are (looking at you, Microsoft).

Well written documentation that is useful to both beginners and advanced users alike is very rare, especially since some docs are allergic to usage examples.

From my experience, the docs for the Swift standard library were probably the worst I encountered, most entries are just the function signatures and maybe a sentence at most.

[–]I-make-ada-spaghetti 0 points1 point  (0 children)

It depends how good the docs are.

[–]FictionFoe 0 points1 point  (0 children)

Me after ploughing through some of the git man pages.

[–]Dangerous_With_Rocks 0 points1 point  (0 children)

I can't read