this post was submitted on 05 Apr 2025
56 points (98.3% liked)

Programmer Humor

25671 readers
1959 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
[–] boonhet@lemm.ee 7 points 4 months ago

Or just BigDecimal or an equivalent if rational types aren't easy to use in your language (e.g if you'd have to literally enter the denominator and numerator).