this post was submitted on 05 Apr 2024
900 points (96.6% liked)

Programmer Humor

33216 readers
552 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

cross-posted from: https://lemmy.ml/post/14080970

Hilarious

all 29 comments
sorted by: hot top controversial new old
[–] [email protected] 129 points 10 months ago
[–] [email protected] 65 points 10 months ago (2 children)

Point four was the first thing I immediately noticed.

[–] [email protected] 24 points 10 months ago (1 children)

Technically 102 if you include the one already said

[–] [email protected] 22 points 10 months ago (1 children)

No, they explicitely demanded the 100 times after the say-i-am-sorry-once-routine terminated

[–] [email protected] 18 points 10 months ago

It wasn't explicit! What if the amount of sorries is stored in a global state? She didn't necessarily specify 100 more sorries. Women so confusing smh.

[–] [email protected] 4 points 10 months ago

forever scarred by OBO errors.. I noticed that too

[–] [email protected] 58 points 10 months ago

Peer reviewing your apologies is always important.

[–] [email protected] 33 points 10 months ago

Typical 1-off error

[–] [email protected] 32 points 10 months ago* (last edited 10 months ago) (1 children)

print('I am sorry'*100)

Edit: print('I am sorry\n'*100) ffs

[–] [email protected] 9 points 10 months ago

I am sorryI am sorryI am sorryI...

[–] [email protected] 24 points 10 months ago

If there's two things I hate, it's off by one errors!

[–] [email protected] 22 points 10 months ago
  1. She asked for "I'm sorry" and the program would print " I am sorry" (if it actually worked lol)
[–] [email protected] 19 points 10 months ago* (last edited 10 months ago)

Formatting

Many text parsers trim down whitespace unless it's explicitly a code block. You see this often when people attempt to use interleaved spaces for emphasis. For example:

R E D   H A T

becomes "R E D H A T" in your Markdown interpreter.

I think WhatsApp supports code snippets with backticks.

[–] [email protected] 15 points 10 months ago
[–] [email protected] 13 points 10 months ago

102 times if you count the one before the code.

[–] [email protected] 12 points 10 months ago (2 children)

I feel like when you title your post "Hilarious", you're being sarcastic. Are you, perhaps, aware that this is actually pretty unfunny? Yet you posted it here nonetheless.

[–] [email protected] 13 points 10 months ago

Watch out OP, big funny appreciator over here found your post sub par

[–] [email protected] 5 points 10 months ago (1 children)

Funny is not an objective quality. The OP can find it hilarious, while you find it unfunny. You can always post something that's funny to you.

[–] [email protected] 11 points 10 months ago

From the tone of the first message, I'm guessing that's not the first off-by-one error in their relationship.

[–] [email protected] 7 points 10 months ago (1 children)

Say I'm sorry hundred times before I will forgive you

Dude had a chance and he screwed it up.

[–] [email protected] 3 points 10 months ago

Nah, anyone that's childish enough to ask something like that isn't worth the effort.

[–] [email protected] 6 points 10 months ago (1 children)

Idk why but whenever someone gets pedantic about silly not real code, i just get grumpy

[–] [email protected] 4 points 10 months ago

There is a leading space in the string itself, so OP is either a top tier troll or put in no effort at at and either way deserves the hate 😄

[–] [email protected] 6 points 10 months ago

As someone learning how to code, Im happy I got it!

[–] [email protected] 3 points 10 months ago

goes to stack overflow to steal some code

[–] [email protected] 2 points 10 months ago (2 children)

Leave me I'm angry.

Who speaks like this?

[–] [email protected] 15 points 10 months ago

Denethor II, son of Ecthelion II

[–] [email protected] 9 points 10 months ago

Maybe non native speaker. If you add "alone" in there it sounds fine.