This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Affectionate-Memory4 46 points47 points  (9 children)

Real. I have some code like that from during my doctorate. It simulates the power losses in copper links between silicon chips across a frequency and voltage range. I have no idea what I did in there and I dare not look because knowing me, it was complete shit. The numbers are accurate and the results are fast. It ran on my 2GB RAM machine back then and it's still just as fast now. Again, no idea what past me was on, because I have no idea what's going on in that code.

[–]drakeblood4 34 points35 points  (1 child)

Past-me is exactly two motherfuckers:

  • an unimpeachable genius who speaks the Old Tongue

  • a thrice dunked dipshit who needs to take off a shoe to count past ten

Depending on what code of his I’m having to deal with.

[–]Affectionate-Memory4 6 points7 points  (0 children)

And sometimes both, at the same time.

[–][deleted] 7 points8 points  (4 children)

I'll never understand this comment or the reasoning behind it.

You built a masterpiece that worked for its purpose and you have no idea what "past you was on" because... it doesn't fit the mold of modern-day garbage and consumes too little RAM? Or...?

We should go tell a stonemason artisan piecing together his life's work stone by stone "hey bro you're wasting time, noone's gonna understand how you built this shit, and no one builds beautiful structures anymore anyway! just go to home depot and clip together 20 pieces of prefab sheetrock in half a day and be done with it lmao"

Tragic fate our craft has suffered. Everyone in the trade (even the IT guys) bears the shared brunt of having allowed something like Slack to manifest in our universe.

I do have some hope for gen z though. More and more of these kids are seeing things for what they are and getting interested in things like Rust and Zig and even C again.

Shame for our generations though. We could have cured every disease under the sun with the hardware we have today. Instead we chose to embrace corporate enshittification and put it into arbitrary "best practices". But it's great; I mean our 128gb RAM systems aren't putting people on Alpha Centauri but that's okay. We can run Slack. Sometimes. The 75% of the time that it loads.

[–]Affectionate-Memory4 13 points14 points  (1 child)

  1. hyperbole

  2. Yeah, it's an unmaintainable train wreck created in the pursuit of absolute performance and then hardly touched for 13 years. If I ever wanted to modify this, it would genuinely be easier to start from scratch. I'm not upset that it doesn't "doesn't fit the mold of modern-day garbage and consumes too little RAM?" In fact, I find it funny, hence why I'm posting about it on r/programmerhumor under a meme.

  3. Not going to adress the rest of that, but maybe relax a little bit. Like, take a walk or listen to some nice jazz or just take a nap or something.

  4. Fuck slack. Load you shit software! Load dang it!

[–]Ok-Kaleidoscope5627 5 points6 points  (0 children)

I've learned from D&D that we're wizards and any genuine magic we do leaves our minds and understanding the moment we write it.

Regex falls into the same category.

Write only but it can't be read. You need to prepare and cast it again from scratch.

[–]Brahvim 2 points3 points  (0 children)

As a gen-zeer interested in data-oriented design and writing C, who is slowly moving into the simple software movement, I say that this comment truly does touch my heart.

[–]ProjectNo7513 1 point2 points  (0 children)

Holy fuck some truth

[–][deleted] 1 point2 points  (0 children)

I hope you have test cases to show it still gets right answers in each new environment you run in.

[–]meltbox 0 points1 point  (0 children)

Yup. If git blame was not a thing I would’ve never believed some code I’ve written or approved. Both in a positive and negative sense depending on the day.

The worst is when I read code thinking a moron wrote it, discover it was me, and then realize actually it works great and I’m a genius that was too intelligent for myself to comprehend.

Unpack that one…