this post was submitted on 22 Jul 2024
88 points (97.8% liked)

Programming Horror

2050 readers
1 users here now

Welcome to Programming Horror!

This is a place to share strange or terrible code you come across.

For more general memes about programming there's also Programmer Humor.

Looking for mods. If youre interested in moderating the community feel free to dm @Ategon@programming.dev

Rules

Credits

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] _stranger_@lemmy.world 16 points 8 months ago (1 children)

If it does, they don't have enough of the right tests.

[–] madcaesar@lemmy.world 3 points 8 months ago (1 children)
[–] 48954246@lemmy.world 7 points 8 months ago* (last edited 8 months ago) (2 children)

What would the output be for the following:

99 Beers on the Wall!

[–] AnUnusualRelic@lemmy.world 4 points 8 months ago

Or for "CAFÉ"?

[–] HelloHotel@lemmy.world 1 points 2 months ago* (last edited 2 months ago)

I think it would be

11 beers on the wall.