this post was submitted on 12 Aug 2026
609 points (98.1% liked)

Programmer Humor

32743 readers
1021 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 50 comments
sorted by: hot top controversial new old
[–] Flagstaff@programming.dev 1 points 3 minutes ago

Huh, this made me realize all these years that I've been pronouncing it as "jay-sawn." Is it really pronounced like "Jason?"

[–] cmhe@lemmy.world 1 points 7 minutes ago* (last edited 6 minutes ago)

Json Carter

[–] SeductiveTortoise@piefed.social 1 points 27 minutes ago

"What does JWT stand for?"

"That's easy. JWT tokens are..."

"Shoot him."

[–] molten_boron@sh.itjust.works 4 points 2 hours ago

Ah, I see where he went wrong. The correct answer was "JavaScript? Ew."

[–] kamen@lemmy.world 2 points 2 hours ago

JSON Statham

[–] cantstopthesignal@sh.itjust.works 8 points 3 hours ago* (last edited 3 hours ago)

I was with Jason Stringify just last night, but he tried to convert me to a new religion so I left.

[–] rumba@lemmy.zip 4 points 3 hours ago (1 children)

just jq and cut to the chase

[–] victorz@lemmy.world 1 points 2 hours ago

It's spelled "j/k"

[–] _stranger_@lemmy.world 16 points 4 hours ago (4 children)

Ugh, terrible memory unlocked.

I asked someone a similar question in an interview once. They weren't doing well and I wanted to end on a positive at least. I asked them to make a dict in python and for extra credit, turn it into a string using whatever library or method they want.

This was not for a junior position.

5 minutes of for loop insanity later they disconnected crying. I always felt bad for that guy.

[–] lime@feddit.nu 3 points 24 minutes ago (1 children)

when i last did interviews we didn't do live coding, but chatted to applicants about things they liked about their preferred language (this was a consultancy position). people who actually like to program tend to have loads of opinions. juniors moreso. the less engaged people were with those questions, the worse the solution the their take-home task tended to be.

a friend of mine interviewed a candidate who apparently visibly froze after every question, like it was a quiz. turns out they were being fed answers from people off-screen and those people hadn't expected casual conversation. they were found out when they forgot to mute.

[–] _stranger_@lemmy.world 3 points 19 minutes ago* (last edited 19 minutes ago) (1 children)

I once had a candidate give the join link to the meeting out to several people (there were 3 unknown people in the call in addition to me and him). I immediately explained we can't do the interview with all these other people on the call and he proceeded to try and gaslight me that there were no other people in the call, like he honestly thought he had jedi mind truck powers.

I called over several coworkers to witness the clusterfuck, many lols were had.

[–] lime@feddit.nu 1 points 5 minutes ago

man, what i wouldn't give for mind truck powers.

[–] kamen@lemmy.world 4 points 2 hours ago

Subtle hint that this is not for them.

[–] heartSagan5@lemmy.zip 6 points 3 hours ago (1 children)
cat = dict(name=‘Garfield’, color=‘orange’)
str(cat)

Can I have that job?

[–] _stranger_@lemmy.world 2 points 2 hours ago

I would have accepted this answer.

I was hoping for json.dumps, but that'll work.

[–] lobut@lemmy.ca 3 points 3 hours ago

When imposter syndrome meets an actual imposter!

[–] Luminous5481@anarchist.nexus 13 points 5 hours ago (1 children)

Javascript is a human rights violation

[–] pupbiru@aussie.zone 6 points 5 hours ago (2 children)

i agree but hate to add the caveat that it (well, typescript) these days is by far the language that i’m most productive in, with the fewest bugs

it took me a long time to admit that to myself

it’s still a human rights violation

[–] iocase@lemmy.zip 2 points 57 minutes ago* (last edited 13 minutes ago)

It is my god given right to pull half of NPM through my machine (and get compromised by 500 different malicious packages) due to my NEED for the MOST up to date PACKAGES!

I WILL have my hourly update to iseven() or I WILL have DEATH.

"There's just no way to prevent these kinds of attacks" says only language where this consistently happens.

If you ARENT updating your libraries every 15 MINUTES are you even a REAL PROGRAMMER!?

I MUST get ALL of the latest vulns and exploits on my machine NOW!

I've even written a script to change my API tokens for me since they get STOLEN so OFTEN because my OTHER SCRIPT updates NPM dependencies CONSTANTLY so I can PULL IN the newest MALWARE.

They may think they have gotten over me, but they always come back.

[–] Damage@feddit.it 9 points 5 hours ago (1 children)
[–] heartSagan5@lemmy.zip 3 points 3 hours ago

Dude, it runs client side code for most of the Internet.

[–] Avicenna@programming.dev 118 points 10 hours ago (2 children)

alternative scenerio:

Guy: "it turns javascript objects into texts in json format"

Soldier: "He uses javascript, shoot the poor bastard"

Are they from the army of Rust Neckbeardistan.

[–] bluelabel@lemmy.world 47 points 9 hours ago* (last edited 9 hours ago) (1 children)

Alternative scenario:

Soldier B: Soldier A asked a JavaScript question instead of a software engineering question. He's not a real soldier, shoot him

[–] somegeek@programming.dev 10 points 8 hours ago (2 children)

Name 3 UML diagrams and 3 architectures!

[–] umbraroze@slrpnk.net 5 points 2 hours ago (1 children)

Name 3 UML diagrams

Class diagram, use case diagram and... What was the useless, barely readable evolution of flowcharts called again? Activity diagram?

and 3 architectures!

MOS 6502, amd64, and... I've never figured out the ARM naming scheme. AAAAAAarch64 or something?

[–] somegeek@programming.dev 1 points 6 minutes ago

You only get shot in one knee.

By architecture I meant software architecture.

[–] jaybone@lemmy.zip 30 points 8 hours ago

“It’s ok. Just shoot me.”

[–] mrsilkworm@piefed.social 31 points 9 hours ago (3 children)

I ll do you a better one. Why is Jason?

[–] OpenStars@discuss.online 15 points 8 hours ago (1 children)

Don't ask - if he told you then he'd have to kill you...

img

[–] cryptTurtle@piefed.social 3 points 4 hours ago (1 children)
[–] OpenStars@discuss.online 3 points 3 hours ago

No no no no no - keep up! We're talking about "Jason" - the one who was killed but came back to continue his task anyway... oh, I see the confusion now 🤔🤪

img

load more comments (2 replies)
[–] foleac@discuss.tchncs.de 53 points 11 hours ago* (last edited 9 hours ago) (2 children)

TypeError: JSON.stringfy is not a function

[–] jaybone@lemmy.zip 7 points 8 hours ago (1 children)

Oh shit didn’t notice the typo. Probably the all caps didn’t help.

[–] Tetragrade@leminal.space 3 points 3 hours ago

Its ok, JavaScript is an interpreted language so the client won't notice until after we've shipped.

load more comments (1 replies)
[–] lime@feddit.nu 68 points 12 hours ago (8 children)

i've designed my own communication protocols that run directly on udp. i couldn't tell you either.

[–] lobut@lemmy.ca 2 points 3 hours ago (1 children)

I refuse to believe you couldn't infer what this is, you're way too smart and you could definitely just guess.

[–] lime@feddit.nu 3 points 33 minutes ago (1 children)

turning a data structure into a string is usually called like "marshal" or "render" or "dump" or something, "stringify" doesn't really imply anything except something about the json being turned into a string. for all i know it could be replacing all the values with toString'ed versions.

[–] lobut@lemmy.ca 2 points 24 minutes ago (1 children)

doesn’t really imply anything except something about the json being turned into a string

yeah that's basically it, I know you're leaning into your existing knowledge (of likely C-based stuff) but you're line of thinking is about right about how you're inferring things ... naming and stuff gets a bit "different" or less serious when you go into JS land sometimes.

What's funny is if this were a real job interview question and you answered in the way that you did ... the way you answered it told me more about yourself and your qualifications than just getting it exactly right

[–] lime@feddit.nu 3 points 19 minutes ago

man if i have to hear about "hydration" one mare time...

that's exactly why i always prefer doing conversation-style interviews rather than quizzing people. knowledge is fine, but you only really get opinions by actually using tools.

[–] ramble81@lemmy.zip 4 points 7 hours ago (4 children)

I mean, that’s fine, right up till you have to communicate with something else. Given that 99% of APIs out there use JSON.

load more comments (4 replies)
load more comments (6 replies)
load more comments
view more: next ›