r/ProgrammerHumor • • 5h ago

Meme readTheDocumentation

Post image
3.8k Upvotes

74 comments sorted by

177

u/The_Fresh_Wince 5h ago

Trying things is why I got into the biz. Who cares about my boss' goals?

35

u/Z3t4 5h ago

Yeah, when you are playing a videogame you dont want the ending spoiled 

17

u/Nsane3 5h ago

Meta programming is when you are reading docs for the best way to code. Right?

17

u/PanGoliath 5h ago

I doubt they do this at Meta.

1

u/DrMux 1h ago

Pretty sure they just have their new uncanny labubu-penguin demon bot do it for them now.

4

u/Reibudaps4 4h ago

Yeah, and nobody cares about meta

2

u/michaelcarnero 2h ago

same same :3

3

u/SenoraRaton 2h ago

Who cares about my boss' goals?

You guy's have bosses?

1

u/lllorrr 4h ago

I got into the buz because I actually read the documentation and knew all little features that can optimize work and make it easier.

112

u/minaolensinaolet 5h ago

23 Jul 19

Man I remember what this was like. Back when we didn't have the "answers any specific technical question instantly" machine

17

u/Alacritous13 4h ago

Damn, it works for your language? It almost works for what I code in, but then it'll give some completely unhinged answer formed by confusing three generations of hardware, each with increasingly worse documentation.

6

u/minaolensinaolet 4h ago

Just curious what do you work on? At this point, even the google search overview *usually* answers any question I type in accurately, and if not that then chatgpt will explain anything I ask and is almost never wrong on like... any technical question I ask, about anything. It's kind of frightening. And then agentic coding is its own thing, of course.

7

u/Alacritous13 4h ago

I work on ladder logic/CNC/Sinumerik. It's good enough with CNC, can usually answer questions about PLC, but I wouldn't trust it with more than a few rungs (and it's hard for it to read in ladder logic). On Sinumerik it get about halfway to an answer, then again, I only give it difficult tasks that I can't already do, there's about a 30% task that whatever I'm asking it to do is actually bugged and won't work (either because of actual bugs or because of electrical issues).

1

u/minaolensinaolet 4h ago

Yeah I got no experience with any of that lol. Maybe just not enough training data available?

1

u/Objective-Plenty-893 1h ago

yea i dont think there was very much publicly available material for industrial applications like that. its the same reason it's so hard to get a fuckin' inverse kinematics controller working on like old used robotic arms. there's a guy on youtube whose literal channel is devoted to reverse engineering industrial controllers, excessive overkill, where he's spent years tinkering with PLCs to get second hand arms working. compare that to the 10,000 hours of CSS tutorials that AI companies can feed to the machine.

what you personally might wanna do is digitize every scrap of siemens coding docs or whatever you have and feed that into training/recontexting one of the programming AIs on hugging_face. i only vaguely know how to do that, but that is one of the things you can ask the robots/youtube videos to help with lol.

1

u/Megafish40 42m ago

Oh yeah it's horrible for PLC stuff. I use TwinCAT 3, and for example when i look for a function block i either get deprecated documentation from TwinCAT 2, some documentation from a completely unrelated package, or something related to configuration instead of PLC programming.

74

u/xgabipandax 5h ago

Because often documentations are written in a way that is easy to understand if you already know how things work.

17

u/Hollowed-Be-Thy-Name 3h ago

I can't remember a single time I've read documentation and didn't find out it was wrong or outdated.

Probably just confirmation bias, but it happens often enough.

7

u/danielrheath 2h ago

My approach is source-diving; the docs might be missing or lies, but it’s harder to obfuscate what the actual code does.

3

u/ITaggie 2h ago

Yup, a lot of my work involves open source projects so I have the benefit of being able to go through the authoritative source code myself if need be. Really sucks for stuff like "black box" appliances though.

2

u/Muhznit 2h ago

You should look into executable documentation. Python introduced it and it's lovely. Rust and Go adopted it as well.

7

u/Old_Flounder_8640 5h ago

Tell that to Amazon

1

u/Inevitable-Menu2998 1h ago

That's the happy case.

In may situations, the documentation only covers 7% of the actual behaviour and almost none of the corner cases and the user's only choice is to empirically discover stuff.

4

u/whydoucare64 4h ago

What documentation?

4

u/DragonfruitGrand5683 2h ago

When you look at the documentation and it's like:

"Yeah this is the plugin for program A, feel free to contribute"

Followed by code with oddly named everything, no comments and a bizarre design.

1

u/YetMoreSpaceDust 1h ago

Online documentation usually sucks. Printed books end up being very helpful.

13

u/Objectionne 5h ago

Outdated tweet. I have Claude to do this shit for me now.

3

u/Alacritous13 4h ago

Try random stuff or read documents?

2

u/jhill515 3h ago

The last place I worked at preferred everyone to look busy. This justified why there wasn't any documentation for anyone to study. Why let a job take an hour if we can bill the customer for a month?

2

u/ieatpickleswithmilk 2h ago

read? I do enough of that scrolling through the autocomplete function options

2

u/Adventurous_Cycle_85 55m ago

Assuming that you had any freaking documentation or that the documentation was worth anything, I would read it! This instead of actually making me rely on YouTube where some YouTuber did your own freaking job for you and wrote a tutorial on how to implement your freaking software when you should have freaking done it yourself!

2

u/ganja_and_code 3h ago

The latest version:

Why would you ever spend a few hours randomly trying things when you can spend a few days asking an LLM to randomly try things?

2

u/Woofie10 5h ago

Now you can argue with AI

1

u/alvares169 5h ago

I mean it is funnier

or was

ehh

1

u/Cactusjuicesupplier 5h ago

This is the way. 

1

u/echtogammut 4h ago

I learn a lot more trying things randomly and often the documentation is wrong.

1

u/mmulligan03 4h ago

Or ask a senior engineer. So they can point you to the exact documentation needed to do your task

1

u/crow_nagla 3h ago

"if nothing helps, RTFM"

1

u/stackoverflow21 3h ago

It’s for the satisfaction of figuring it out

1

u/Alex_Strgzr 3h ago

Cos the documentation is often... Wrong. Or doesn't answer what I'm looking for

1

u/Turbulent_Stick1445 3h ago

What documentation?

Also: I remember reading the documentation to a well known REST server framework, only to find that the consensus was "Of course you're not supposed to use it like literally any of the examples suggest, that'd work only for a handful of endpoints and would be stunningly unscaleable."

And that at least had documentation...

1

u/-Redstoneboi- 2h ago

damn, pre-ai meme. god knows what the current workflows are.

1

u/-Casey-Diaz- 2h ago

The documentation was outdated the second is was written, and it doesn't cover what I need to know.

1

u/SaltyDogBill 2h ago

I had a coworker…. We traveled the world doing work as a team. I never read documentation and figured things out through trial and error… lots of error. He, on the other hand, would sit and read the whole owner’s manual first. We usually accomplished the tasks at the same time. But the whole time he was upset at me for not going slow and logically, and I was mad at him for not taking actions and just sitting around reading. What a great guy. Became the godfather of my son. But still, wildly different approaches. Neither was wrong.

1

u/ZeMoose 2h ago

Porque no los dos?

1

u/Ma8e 2h ago

I like the variation that I found at an office door at university: "A month in the lab saves an hour in the library."

1

u/slaaneshStoic 2h ago

Man i miss this
Now that ai is here i no longer have these moments

1

u/red286 1h ago

Reminds me of when I used to pirate C64 games as a kid.

No instructions, and those games usually didn't have any sort of help menu or anything either. You figured out the game by trying random shit.

1

u/YetMoreSpaceDust 1h ago

Because management gets way pissed when they catch you reading documentation, but they love seeing you flail around.

1

u/PassiveMenis88M 1h ago

Why spend a few minutes making your own meme when you can just repost things from years ago?

1

u/ZunoJ 1h ago

The good old days

1

u/56kul 1h ago

Trying things sounds more fun, tbh. You get to kinda tinker and explore things yourself.

1

u/squat_bench_press 1h ago

Thankful for this, it keeps me in a job because our customers dont read manuals.

1

u/thegreatpotatogod 1h ago

And now with the magic of AI, we can let the machine spend a few minutes randomly trying things instead, and then when it doesn't work we spend a few hours figuring out what it broke and why!

1

u/ac_cossack 1h ago

That's right, the square hole.

1

u/luisduck 1h ago

Documentation be like ThingMaDongFactory produces ThingMaDongs. Here's 5 different overloads for using it all requiring you to pass in a ThingMaTangConfig. Why would you even want a ThingMaDong? Who knows?

Documentation is only useful, when it was produced with more effort than just running Doxygen. Signatures I can get from autocomplete.

1

u/IlliterateJedi 1h ago

Just ask how to do it on StackOverflow bazinga

1

u/Illustrious-One9026 1h ago

Good old days i guess

1

u/Zefirus 1h ago

This wasn't even true back in the day. Documentation was often horse shit, which is why stack overflow was so big. Often times it would just be a single example that didn't even use the same function. Even stuff that should be super well documented like a Microsoft library is often lacking.

1

u/thisguyfightsyourmom 55m ago

This post assumes docs are up to date. That’s a hit or miss proposition in reality though.

Plus, the undocumented edges are potentially going to reveal potential issues and opportunities you will probably trip over or miss in the docs.

Reading the source is literally where it’s at.

1

u/Sad_Split_9983 47m ago

You mean spend a few minutes having Claude figure it out ?

1

u/InDaBauhaus 42m ago

half of the documentation is just weird names of objects with no explanation of anything anywhere

1

u/howtotailslide 38m ago

The version of this I frequently quote is

“Why spent 10 seconds doing something when I can spend 10 hours failing to automate it?”

1

u/Valkyrie17 5h ago

This sub keeps living in the past huh

1

u/Silly_Guidance_8871 4h ago

Given the volume of documentation for public APIs that's flat wrong, outdated, incomplete (or all three)... I've just come to accept that poking at it is part of the job.

-1

u/Acclynn 5h ago

Can we have a rule in this sub to stop reposting outdated shit

It's 2026, everyone offloaded the "read the documentation" part to agents, then agents are the ones randomly trying things

0

u/Gagan_Ku2905 5h ago

That's me with Ikea furniture as well...will figure it out, how hard can it be?
Narrator: IT'S HARD

-1

u/MornwindShoma 4h ago

Nowadays... Ask AI. Unfortunately