Previously we could have Age that was unknown. However, this is better modeled by making the Age optional and using null to represent its absence, since null conveys the same meaning.
The PR simplifies the code that uses Age and adds bounds checks on values to prevent using negative years, months, ... .
Previously we could have
Age
that was unknown. However, this is better modeled by making theAge
optional and usingnull
to represent its absence, sincenull
conveys the same meaning.The PR simplifies the code that uses
Age
and adds bounds checks on values to prevent using negative years, months, ... .