ProgrammerHumor

fromVibeToObliviousCoding

fromVibeToObliviousCoding
https://i.redd.it/id6e1y0qmmdf1.png
Reddit

Discussion

Landen-Saturday87

The trick is not to touch it again until you advanced to be a senior dev. And then it‘s another juniors problem

2 days ago
thonor111

def function_doing_y(parameter_a, parameter_b)

I wonder what my code is doing. Might it be doing y and using a and b for that?

Naaah, impossible, but because I haven’t added the comment

computed y(a,b)

I guess I will never know what it does

2 days ago
anengineerandacat
:cs::j::kt::lua::rust::ts:

Eh it happens, it's even funnier when your reviewing some code with a peer and your like "Who did this?!" and git blame points the finger back to you. Very humbling moment.

2 days ago
Fissionmaild

//Howdy future me

2 days ago
tbhaxor OP

This is present me

1 day ago
Altruistic-Tiger-293

Amateurs

2 days ago
HexKernelZero

Right... I don't understand why you wouldn't want to have all your functions and logic pathways somewhat memorized. Maybe this is some programmer form of self depreciation BDSM kink I don't understand. 🤔

2 days ago
Yousoko1

Dude, I’ve got 20k files and hundreds of thousands of lines of code. I’ve touched at least 40% of it. And the moment I finish a dev cycle, the first thing I do is flush it all the fuck out of my head. Because I don’t need that info anymore — and there’s just way too much of it.

1 day ago
Bldyknuckles

The biggest lie ever told is self documenting code.

2 days ago
mrgk21

That's what I said to my team lead today morning when he asked me what I coded 2 weeks ago

And yes he did ask the question again

2 days ago
conundorum

Later...

Jr. Dev: "Help! I forgot what my code does!"

Sr. Dev: "No comment."

1 day ago
czarnyspajdi

ObliviousCoding is a great name

1 day ago
tbhaxor OP

Thanks

20 hours ago
Chance-Influence9778

I still remember my code even after leaving my prev company... am i... builtttt differrrent?

8 hours ago
TheMinus

Fun thing, event though I write comments a lot, problems usually occur in the places not covered by comments. So they are useless anyway.

2 days ago
Self_Aware_Idiot_9

Wdym I need to write documentation?

2 days ago
MidnightPrestigious9

For my serious answer:

  1. function names handle_keypress... // like no shit     ...
  2. comments ``` // ======= KEYBOARD SHORTCUTS ======= ...

// ======= ACTUAL TEXT INPUT ======= ... ``` 3. cleaning up after yourself and not making a convoluted mess (which often happens right after I solve some problem)

...works well enough for me.

Also, I personally, find that code is more skimmable when aligned vertically (works only sometimes and not that impactful)

2 days ago
kbielefe

I thought most people save their code to disk so they can read it later.

1 day ago
BigTinyTempo

Step 1: “Who wrote this steaming pile of crap!!!?”

Step 2: git blame

Step 3: “Oh, it was me”

1 day ago
Such-Vegetable2460

This happens.....but having diagrams on the source code documentation will help with recognition of old code...or keep the files and functions neat with good name choosing :)

1 day ago
redditorstearss

Hell I'll be in the middle of writing a function and forget what it does

1 day ago
Plenty-Hat-846

just gotta write better readable code

1 day ago
Desperate-Tomatillo7

If it wasn't because of Git I wouldn't even remember that it is my code.

22 hours ago
cybermage

Vibe coders never know what their code does.

21 hours ago
rgrivera1113

Present me, “Behold my perfectly formed, logical, and bulletproof solution to this intractable problem!”

Future me, “WTF was I thinking?”

21 minutes ago