ProgrammerHumor

catchTwentyTwo

catchTwentyTwo
https://i.redd.it/usqmaj18jnbf1.jpeg
Reddit

Discussion

B_is_for_reddit OP
:py: i have no idea what im doing

who wants documentation? ๐Ÿ™‹โ€โ™‚๏ธ๐Ÿ™‹โ€โ™‚๏ธ๐Ÿ™‹โ€โ™‚๏ธ

who wants to document? ๐Ÿ™โ€โ™‚๏ธ๐Ÿ™โ€โ™‚๏ธ๐Ÿ™โ€โ™‚๏ธ

1 day ago
programmerbud

Docs? Yeah we want them.
Writing docs? Nah, thatโ€™s above my pay grade ๐Ÿ’€

1 day ago
EmuChance4523
:g::py::j::c::js::ts:

Ah yeah.. I been chased to make documentation for a long time... but after fighting between meetings and bs to get the feature done, I don't want to write any documentation...

Its not like pms want to give time for documentation either...

1 day ago
klaasvanschelven

For the life of me I can't understand this attitude. Assuming you're proud of what you're doing, writing down how cool it all is and how smart you were when doing it is a fun thing, right?

23 hours ago
B_is_for_reddit OP
:py: i have no idea what im doing

because making things is significantly more enjoyable than detailing how you made it

also 90% of the industry is autistuc

23 hours ago
Swansyboy
:py::j:

I AM the documentation! As long as I'm the only one who knows how the code works, I'm valuable to the company.

/j I don't even work yet lol

18 hours ago
B_is_for_reddit OP
:py: i have no idea what im doing

secret tip: make the code so horribly unreadable that the company cannot fire you as you're the only one that knows how it works

downside: you may also forget how it works

17 hours ago
MFDOM2K

My ahh is not getting paid enough to document an ancient java codebase all by myself ๐Ÿ˜ญ๐Ÿ˜ญ๐Ÿ˜ญ

10 hours ago
Global-Tune5539

That's a job AI can take from me every day.

8 hours ago
SaltyStratosphere

What if we made a Rule0 for code.

Whenever there's a code, there must exist a documentation of it!

1 day ago
IridiumIO

``` /// <summary> /// Method that prints a <see cref="stringโ€/> /// that says โ€œhello worldโ€ /// </summary> void printHelloWorld() { // prints hello world Console.WriteLine(โ€œHello Worldโ€); }

```

1 day ago
Memoishi

But this is unreadable...
what does the last curly bracket do? comment that please

1 day ago
dire_faol

These memes don't work anymore. Writing comprehensive documentation takes a few minutes now.

17 hours ago
B_is_for_reddit OP
:py: i have no idea what im doing

ah yes, i will plug my code into chatgpt, and paste whatever half-made-up nonsense it spits out into my documentation and the next engineer can read it and spend a few hours trying to figure out why the function described in the document doesnt work

im sure glad we have these sophisticated tools

17 hours ago
dire_faol

Nah, you're behind. These things write better docs than people do. Few iterations, and done and done.

17 hours ago
B_is_for_reddit OP
:py: i have no idea what im doing

they really dont

you can tell when documentation is AI-generated because its half things you could gather by just reading the code and half just fully confident wrong information. the time you spend fixing the shit it spits out is the same amount of time it would take you to just bullet point the information

17 hours ago
dire_faol

That's user error. It's a tool, and you're the author. You tell them what to do, and they do it. You review, iterate, done. If Opus 4 is giving you garbage, you're doing it wrong.

17 hours ago
B_is_for_reddit OP
:py: i have no idea what im doing

if im selling broken pencils and you complain that you cant write with them, its not a user error, the tool just sucks ass

17 hours ago
AaronTheElite007

Pseudocode is the documentation. As long as the variables make sense and you comment what each section does, anyone with code competency ought to be able to follow

1 day ago
andreortigao

This only serves as documentation for the micro.

You also need documentation for the macro, things like personas, architecture, infrastructure, communications and flow between different services and systems. Inferring this by looking at entrypoints documentations is pretty much impossible.

1 day ago
CiroGarcia
:py::g::ts:

Documentation for the macro should come before the code itself, since it doubles as an action plan that multiple people can give their opinion on or act on before locking everything down in actual lines of code

1 day ago
andreortigao

Ideally, yes, but most devs won't, which is the point of this post

How many companies you've joined that had actual updated and useful documentation?

Most senior devs I've worked with don't even know how to write documentation

1 day ago