this post was submitted on 15 Jul 2023
22 points (100.0% liked)

Programmer Humor

32472 readers
954 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 2 points 1 year ago (1 children)

Database stores as INT though, so you're still fucked

[โ€“] [email protected] 1 points 1 year ago* (last edited 1 year ago)

Int you say? -17 it is. In Benjamin Button years.

Come to think of it, unsigned char is probably the best hardware data type for an age, if we assume nobody's going to cure aging completely.