this post was submitted on 15 Jul 2025
464 points (94.8% liked)

Programmer Humor

37589 readers
489 users here now

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

Rules:

founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] ICastFist@programming.dev 5 points 2 weeks ago (1 children)

Oh shit, gotta check the negative numbers as well!

[โ€“] Shayeta@feddit.org 1 points 2 weeks ago

You can do that more efficiently by using abs(number).