this post was submitted on 13 Dec 2025
282 points (98.0% liked)

Programmer Humor

39852 readers
8 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
[โ€“] mcv@lemmy.zip 5 points 3 weeks ago (1 children)

What the hell kind of magic number is this? Define that stuff in an environment variable, and write a singleton to make the value transparently available where you need it.

[โ€“] anton@lemmy.blahaj.zone 1 points 3 weeks ago

Exactly, you never know when you want to change the base for printing out from under someone.