this post was submitted on 11 Oct 2025
440 points (99.5% liked)

Programmer Humor

26875 readers
262 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
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] lugal@lemmy.dbzer0.com 2 points 2 days ago (1 children)

The original doesn't have an extra check for 9 and it works for Roman->Indioarabic because it's:

IX
->IVV
->IIIIV
->IIIIIIIII

But the other way around, you need an extra step for 9. That's where our misunderstanding comes from.

[โ€“] rooroo@feddit.org 2 points 2 days ago

Ohhh haha that makes sense. Fun!