this post was submitted on 03 Oct 2025
504 points (98.8% liked)

Programmer Humor

26846 readers
1546 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 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] DrDystopia@lemy.lol 5 points 1 week ago (3 children)

It's like the real life kraken, I've never seen it but the name causes dread.

[–] kubica@fedia.io 20 points 1 week ago (2 children)

This is what peak performance looks like:

console.log("before dothething");
let r = dothething();
console.log("after dothething");
console.log(r);
[–] darvit@lemmy.darvit.nl 2 points 6 days ago

Be careful, the actual logging can happen at a later time, and because the log function may take a reference to the value, if you modify r it may show the modified version of r in the logging instead of the original r.

[–] hotdogcharmer@lemmy.zip 4 points 1 week ago

Hey how'd you get your hands on my code