Hacker News new | past | comments | ask | show | jobs | submit login
Making Illegal States Unrepresentable (corrode.dev)
14 points by hebz0rl 9 months ago | hide | past | favorite | 4 comments



The maximum age constraint on the birthdate is problematic, since it becomes more restrictive over time. So if you store a user and their birthdate, you won't be able to load them again if they crossed the threshold in the mean time.

I'd just pick some reasonable cutoff (say 1907) and keep it at that value forever.


Today our computers have issues because time overflows. Tomorrow, advanced medical technology extending human life may be available, but will constraints in software will force people to be legally reborn into new identities?


1983 called. Ada would like a word.


It is a good idea in SQL




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: