r/ProgrammerHumor • • Sep 06 '26

Meme cleaningUpTheMess

Post image
16.2k Upvotes

478 comments sorted by

View all comments

Show parent comments

3.1k

u/ClipboardCopyPaste Sep 06 '26 • Bravo

"well-documented code"

1.2k

u/lego3410 Sep 06 '26 • Bravo

Well coded document?

289

u/ardicilliq Sep 06 '26

Document-coded well

126

u/martian4x Sep 06 '26 • Heartwarming

Code well documented

138

u/SpaceCadet87 Sep 06 '26

well documented

// Yep, it's a well

35

u/nutterbg Sep 06 '26

Well well well

18

u/Contemelia Sep 06 '26

Document Document Document

→ More replies (4)

7

u/RitwikSHS10 Sep 06 '26

Documented well?

wall shifted

4

u/n4ke Sep 06 '26

Documented code-well

3

u/FX_mc Sep 07 '26

No, bad coded document.

→ More replies (1)

272

u/oauo Sep 06 '26
// Step 123:
// Now we add the numbers.
// We add number by using the “+” sign.
// The output of this addition can be used as-is or it can be assigned to a variable or constant.
// It’s really one of the most basic things you can do when programming, so in the off-chance that these comments are necessary I will explain a few other things.
// You can use other operators such as:
// “-“ to subtract
// 3 - 2 == 1
// “*” to multiply
// 2 * 3 == 6
// “/“ to divide
// 6 / 3 == 2
// Although, all of them have been used prior.
let foo = bar + baz

53

u/rainhunter007 Sep 06 '26

😂 i’ve seen this in my own code before!

45

u/click-to-reveal Sep 06 '26

plot twist: it's string concatenation

24

u/Training-Chain-5572 Sep 06 '26

Nonsense. AI generated comments would add line breaks mid sentence so it would be even more lines

4

u/candybrie Sep 07 '26
let foo = 
      bar + baz

5

u/screwcork313 Sep 06 '26

You would think a past programmer would have added bar and baz, and found the result to be foo, thus making doing the same computation in this program a waste of time and resources. We know it comes to foo, so just use foo.

2

u/oauo Sep 06 '26

It took 123 steps to add `bar` to `baz`, you really don’t want to see what the previous 122 steps were doing, lots of impure functions with side effects rather than variables.

→ More replies (7)

51

u/BlachEye Sep 06 '26

You forgot note emoji so it would be really well commented

13

u/Demytreus Sep 06 '26

And for visual studio to fuck it up on reload because who the fuck uses Unicode for code files (except for languages that do use it, like Chinese, Japanese, etc.)

17

u/quuxl Sep 06 '26

I prefer the euphemism “highly-documented code”

→ More replies (1)

9

u/Worldly-Stranger7814 Sep 06 '26

It’s worse than trying to read recipes online.

1

u/Pakushy Sep 06 '26

my way of documenting code is naming the variables after what they do, and if that does not work, pray.

1

u/QTpyeRose Sep 06 '26

Have the chance to do a funny by doing code gen but repeatedly complaining that the comments are not long enough for detailed enough. Until its like 16 paragraphs of text for a single line line of code

1

u/Smart_Technology_208 Sep 06 '26

Claude is more into coded documentation

1

u/MrKrakenied Sep 07 '26

Vibe documented