456
you are viewing a single comment's thread
view the rest of the comments
[-] olafurp@lemmy.world 9 points 1 month ago

It's not too bad, it's readable and easily optimised by adding intermediate sums and removing whatever power of 10 you're working on.

[-] nik9000@programming.dev 2 points 1 month ago

My first thought was that it'd be a great oracle for randomized testing.

this post was submitted on 11 Oct 2025
456 points (99.8% liked)

Programmer Humor

27720 readers
141 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