this post was submitted on 11 Apr 2026
16 points (90.0% liked)

Programmer Humor

31750 readers
685 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS
 
top 24 comments
sorted by: hot top controversial new old
[–] copacetic@discuss.tchncs.de 4 points 2 months ago (2 children)
[–] Rhaedas@fedia.io 1 points 2 months ago (1 children)

I feel called out. I'm not sure which way I'd go.

[–] SpaceNoodle@lemmy.world 1 points 2 months ago (1 children)

Get somebody else to pull it.

[–] 0ops@piefed.zip 1 points 2 months ago

For science.

[–] diabetic_porcupine@lemmy.world 1 points 1 month ago

You know what this is based AF because if you don’t do it a second time how would you know if it wasn’t a weird edge case or a race condition or maybe you just didn’t internalize the cause and effect because you weren’t looking for it until a bug appeared

[–] sunbeam60@feddit.uk 3 points 1 month ago (1 children)

Ah, come on this is valid investigation.

If you get the same error every time, you know you can find it and debug it, somewhat with ease.

If you don’t, you might have a thornier issue at hand.

I hate how stupid and obvious this is, but we all do it at least once if the compile is short. But with a 20 min compile, I am investigating.

[–] rumschlumpel@feddit.org 2 points 2 months ago (1 children)

But sometimes it works, or throws a different error ...

[–] einkorn@feddit.org 2 points 2 months ago (1 children)

And a different error means progress!

[–] SpaceNoodle@lemmy.world 1 points 2 months ago

A different error each time?

[–] Blackmist@feddit.uk 1 points 1 month ago (1 children)

You make a change. It doesn't fix it.

You change it back. The code now works.

[–] zerobot@lemmy.wtf 1 points 1 month ago

the real fix was the journey, the destination never mattered

[–] epyon22@sh.itjust.works 0 points 2 months ago (1 children)

Most applications aren't written to compile deterministically so there is always a chance.

[–] CookieOfFortune@lemmy.world 0 points 2 months ago (1 children)

Compile? Is that true? Pretty sure compilers are generally deterministic in their output.

[–] epyon22@sh.itjust.works 0 points 1 month ago (1 children)

Mainly making a joke that they aren't binarialy deterministic. Semantically they are though. https://blog.onepatchdown.net/2026/02/22/are-compilers-deterministic-nerd-version/

[–] CookieOfFortune@lemmy.world 0 points 1 month ago (1 children)

Hmmm would most code these days be compiled into minified JavaScript? That might be more deterministic.

[–] epyon22@sh.itjust.works 1 points 1 month ago* (last edited 1 month ago) (1 children)

JavaScript is what is called an interpreted language there is no compiling at all the code is directly read and interpreted at runtime. Most of the time it's minified which reduces the size. Or in the case Vue React or Angular is transpiled which still results in JavaScript code but framework specific syntax is broken out and it's ran through bable to do backwards compatibility for older browsers.

[–] CookieOfFortune@lemmy.world 0 points 1 month ago (1 children)

Isn’t Typescript compiled into JavaScript?

[–] epyon22@sh.itjust.works 1 points 1 month ago (1 children)

Technically transpiled. Compiling results in something binary.

[–] CookieOfFortune@lemmy.world 1 points 1 month ago (1 children)

No a compiler just translates from one language into another. Transpilers are a type of compiler.

[–] epyon22@sh.itjust.works 1 points 1 month ago (1 children)

Typescript is transpiled into JavaScript. It's not a whole new language just additions to JavaScript.

[–] CookieOfFortune@lemmy.world 1 points 1 month ago

A transpiler is a compiler. And it doesn’t have to convert from one language to another to be considered a compiler.

[–] DahGangalang@infosec.pub 0 points 2 months ago (1 children)

The usual for me is that I flip back over to my editor and hit ctrl+save, cause heaven forbid I ever remember to do that before running.

[–] jtrek@startrek.website -1 points 1 month ago

I have no regrets from setting my editor to save-on-blur