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

14 hours ago
Altruistic-Tiger-293

Amateurs

11 hours 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. 🤔

11 hours 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.

7 hours 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

14 hours ago
Fissionmaild

//Howdy future me

14 hours ago
tbhaxor OP

This is present me

9 hours 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.

12 hours 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

10 hours ago
Bldyknuckles

The biggest lie ever told is self documenting code.

12 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.

12 hours ago
Self_Aware_Idiot_9

Wdym I need to write documentation?

11 hours 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)

10 hours ago
conundorum

Later...

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

Sr. Dev: "No comment."

7 hours ago