this post was submitted on 15 Jul 2025
433 points (94.6% liked)

Programmer Humor

37233 readers
13 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 1 day ago (1 children)

Oh shit, gotta check the negative numbers as well!

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

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