this post was submitted on 15 Jul 2023
928 points (97.8% liked)

Programmer Humor

32443 readers
1028 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
[–] lowleveldata@programming.dev 39 points 1 year ago (2 children)
[–] ArtVandelay@lemmy.world 14 points 1 year ago (3 children)

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

[–] derpo@lemmy.world 8 points 1 year ago
[–] CanadaPlus@lemmy.sdf.org 5 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.

[–] master@lem.serkozh.me 1 points 1 year ago

ok, my age is NULL

[–] 1Fuji2Taka3Nasubi@lemmy.zip 5 points 1 year ago

User with this age already grew up as soon as you press submit