this post was submitted on 08 Jun 2025
793 points (97.4% liked)

Programmer Humor

23995 readers
1396 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
 
top 50 comments
sorted by: hot top controversial new old
[–] M33@lemmy.sdf.org 13 points 16 hours ago (1 children)
[–] mmddmm@lemm.ee 3 points 14 hours ago

Yep, it's the one starting everything.

And doing nothing else. And still something manages to no be right.

[–] dejected_warp_core@lemmy.world 37 points 22 hours ago (1 children)

Rust is still in the locker room having an argument with their coach (borrow checker).

[–] Sylvartas@lemmy.dbzer0.com 13 points 22 hours ago (1 children)

C++ is home sick, currently the doctor (compiler) is not sure whether it's got the flu or a terminal cancer.

[–] epicstove@lemmy.ca 7 points 15 hours ago

terminal cancer

"I'm sorry, you've been diagnosed with :(){:|:&};:"

"You have a couple seconds to live."

[–] jenesaisquoi@feddit.org 5 points 19 hours ago

Rust isn't shown because it's already completed the course

[–] ratel@mander.xyz 134 points 1 day ago (22 children)

Labelling the crab as C is sure to ruffle some exoskeletons..

[–] palordrolap@fedia.io 24 points 1 day ago (1 children)

As at least one nautically themed childrens' book surely has it: C is for crab.

Coming at programming sideways feels more like a Haskell or Prolog thing, though.

[–] milicent_bystandr@lemm.ee 11 points 1 day ago (2 children)

Apple is for ADA

Ball is for BASH

Crab is for C

Dog is for D

Elephant is for Ecsmascript

Fox is for F#

Goat is for Go

House is for Haskell

Igloo is for

...okay I got stuck there.

[–] JackbyDev@programming.dev 4 points 17 hours ago* (last edited 17 hours ago) (1 children)

Java has Duke

Duke, Java's mascot. A triangular shaped character with a red nose.

Ugh, I accidentally got a fake transparent background. Oh well.

[–] frezik@midwest.social 4 points 17 hours ago* (last edited 17 hours ago) (1 children)

Branding fail so bad that everyone forgets that Java even has a mascot.

[–] JackbyDev@programming.dev 3 points 15 hours ago

There are dozens of us! Millions of devices and dozens of us know about Duke!

Fun fact, Duke is released to the public. I forget in what way exactly, but Oracle freed them (him? it?).

[–] lagoon8622@sh.itjust.works 3 points 18 hours ago (1 children)
[–] milicent_bystandr@lemm.ee 1 points 14 hours ago

Jigsaw is for Java

King is for Kotlin

Lion is for LUA

Monkey is for ...

load more comments (21 replies)
[–] lobut@lemmy.ca 30 points 1 day ago (3 children)

Not a word of a lie, I saw a "segmentation fault" error in JavaScript.

Can't remember how we resolved it, but it did blow my mind.

[–] jj4211@lemmy.world 10 points 22 hours ago (1 children)

Technically any language runtime can end in a segmentation fault.

For some languages, in principle this shouldn't be possible, but the runtimes can have bugs and/or you are calling libraries that do some native code at some point.

[–] gagootron@feddit.org 5 points 20 hours ago

Even safe rust can do it, if we allow compiler bugs

[–] VitabytesDev 5 points 22 hours ago (1 children)

I have seen a Java program I wrote terminate with SIGSEGV. I think a library was causing it.

[–] burlemarx@lemmygrad.ml 2 points 19 hours ago

Yup, can confirm. We had a wrapper to a C++ library using JNI, so whenever this library crashed so did the entire JVM.

[–] apelsin12@lemm.ee 9 points 1 day ago

Ive also seen this, but not from js but node

[–] ILikeBoobies@lemmy.ca 38 points 1 day ago (1 children)

Why is the crab not Rust. This is outrageous, it’s unfair

[–] d_k_bo@feddit.org 35 points 1 day ago* (last edited 1 day ago) (6 children)

Rust would be some borrow checker compile error like

borrowed data escapes outside of associated function
argument requires that `'1` must outlive `'static`
[–] pewgar_seemsimandroid@lemmy.blahaj.zone 16 points 1 day ago (2 children)

rust errors are funny if you don't know rust

[–] milicent_bystandr@lemm.ee 12 points 1 day ago

News at Ten: Borrowed Data Escapes Outside of Associated Function

[–] Ephera@lemmy.ml 8 points 1 day ago (1 children)

Those also happen to be errors you'd typically run into, if you don't yet really know Rust...

[–] d_k_bo@feddit.org 2 points 22 hours ago* (last edited 22 hours ago)

I do run into them even though I use Rust for ~3 years now, but only in non-obvious cases, e. g. when all references to the borrowed data are dropped before the end of the function.

load more comments (5 replies)
[–] andioop@programming.dev 15 points 1 day ago

I find it funny that the pufferfish blows up at its own gunshot

[–] 30p87@feddit.org 78 points 1 day ago* (last edited 1 day ago) (4 children)

Rust: Downloading 7390327 crates...

[–] sbv@sh.itjust.works 23 points 1 day ago

I feel like Rust would be some complaint from the compiler saying that some apparently unrelated struct can't be Send/Sync for some inscrutable reason. Or something about pinning a future.

load more comments (3 replies)
[–] Jankatarch@lemmy.world 17 points 1 day ago

Why is openbsd the referee?

[–] ulterno@programming.dev 31 points 1 day ago (1 children)

C trying to take the shortest path to the goal.
Would probably have won (and broken the universe), if the referee didn't exist.

[–] RobotZap10000 18 points 1 day ago (1 children)

Python is being even smarter by trying to underflow the distance to the finish line.

load more comments (1 replies)
load more comments
view more: next ›