Properly getting into jail: it's not a crime to be in an invalid state

added by DotNetKicks
3/2/2018 12:43:56 PM

2 Kicks, 239 Views

Note that these sort of validations are almost always very much business rules, not type issues. If someone's birthday is in the future, you can feel free to very easily reject that data as purely invalid. But if someone's release date is in the past, however, you might still need to accept them as an inmate (the paperwork are really in the mail, sometimes).