• alertsleeper@programming.dev
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    I think this timestamp-as-a-boolean is a good idea if the field is always going to be interpreted as either True or False and nothing more. If the field in question allows for a 3rd (uncertain) value, then using a timestamp would be extremely confusing.

    • canpolat@programming.dev
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      And it all depends on the problem at hand. Any of those solutions can be acceptable as long as you have a well thought out model.