612
you are viewing a single comment's thread
view the rest of the comments
[-] _stranger_@lemmy.world 18 points 3 hours ago

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.

[-] kamen@lemmy.world 3 points 1 hour ago

Subtle hint that this is not for them.

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

Can I have that job?

[-] _stranger_@lemmy.world 2 points 1 hour ago

I would have accepted this answer.

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

[-] lobut@lemmy.ca 3 points 2 hours ago

When imposter syndrome meets an actual imposter!

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

Programmer Humor

32743 readers
1160 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